Last active
March 15, 2016 11:15
-
-
Save luckycreationsindia/777ef6190128df1dfbc6 to your computer and use it in GitHub Desktop.
A sample Snippet to Hide App in Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PackageManager p = getPackageManager(); | |
p.setComponentEnabledSetting(getComponentName(), | |
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, | |
PackageManager.DONT_KILL_APP); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment