This constant was deprecated in API level 7.
No longer useful, see addPackageToPreferred(String)) for details.

Allows an application to modify your preferred applications. This can allow malicious applications to silently change the applications that are run, spoofing your existing applications to collect private data from you.

Added in API level 1.


added in API level 1
void addPackageToPreferred (String packageName)
This method was deprecated in API level 7.
This function no longer does anything; it was an old approach to managing preferred activities, which has been superseded by (and conflicts with) the modern activity-based preferences.