wossoneri
4/19/2019 - 6:26 AM

禁用应用

PackageManager pm = getPackageManager();
pm.setApplicationEnabledSetting(packageName, PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER, 0);

--------------------- 
作者:XXOOYC 
来源:CSDN 
原文:https://blog.csdn.net/xxooyc/article/details/50674333 
版权声明:本文为博主原创文章,转载请附上博文链接!