Palani
Palani

Reputation: 9042

Android - Preferred Activities getting cleared after update

I think, the default Activity Preferences are cleared automatically after Application update. Is this expected ?

I found that PackageManager.addPreferredActivity() can be used to set PreferredActivity programmatically, but its documented as depreceated.

Upvotes: 0

Views: 1472

Answers (1)

PravinCG
PravinCG

Reputation: 7708

I believe this is the correct behavior, since update of Application involves changes and the user should have right to choose whether or not they want to use the new look and feel of the home launcher application.

Upvotes: 2

Related Questions