Improper use of the platform - Intent to use improperly
- Error example :
<activity android:name=".activties.ShopActivity" android:exported="true"/>
Public activities can be used by an unspecified large number of applications, including malware. When using public activities it is also important to note that malware can read and receive any intents sent to them. This activity is not properly protected from malware.
- Correct example :
<activity android:name=".activties.ShopActivity"/>
Private activities cannot be launched by the other applications and therefore it is the safest activity. When addressing private activities, it is recommended to use explicit intents. This will prevent accidentally sending the intent to other applications, such as malware, that are capable of handing.