CopyPastor

Detecting plagiarism made easy.

Score: 0.8083977699279785; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2013-10-01
by Jitesh Dalsaniya

Original Post

Original - Posted on 2012-12-05
by Ram kiran



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Just use following code.

PackageManager p = getPackageManager(); ComponentName componentName = new ComponentName("com.example.removeicon","com.example.removeicon.LauncherActivity"); p.setComponentEnabledSetting(componentName , PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
Note that the icon may not be gone until the next reboot.
<!-- language: lang-java -->
PackageManager p = getPackageManager(); ComponentName componentName = new ComponentName("com.example.removeicon","com.example.removeicon.LauncherActivity"); p.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
**Note that the icon may not be gone until the next reboot.**

        
Present in both answers; Present only in the new answer; Present only in the old answer;