📜  隐藏图标 android studio - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:24.494000             🧑  作者: Mango

代码示例2
PackageManager p = getPackageManager();
ComponentName componentName = new ComponentName(this, com.apps.MainActivity.class);
p.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);