If the application icon is disabled using the PackageManager, will this cause a problem when updating this application automatically?

I have an application in which the application icon is hidden using the following code:

PackageManager p = getApplicationContext().getPackageManager(); p.setComponentEnabledSetting(getComponentName(),PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP); 

Will this cause a problem when updating the application (when the new version will be downloaded in the play store)? And if so, are there any ways to solve this problem?

+1
source share
1 answer

The answer to this question: No, there will be no problems. The application will be successfully updated. I can confirm this, as I implemented it in one of my applications, and I noticed that the application was updated without any problems.

0
source

Source: https://habr.com/ru/post/1270347/


All Articles