Reputation: 9042
So, everything works fine as expected.
Problem is, after application update, the preferences are getting cleared.
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
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