应用详情界面不允许“DISABLE“

修改如下:

packages/apps/Settings/src/com/android/settings/applications/ApplicationFeatureProviderImpl.java

         keepEnabledPackages.add(mContext.getString(R.string.config_package_installer_package_name));
 
+        /*[PMWANG]["Search Engine Selector"应用详情界面不允许"DISABLE"]BEGIN */
+        for (String s : mContext.getResources().getStringArray(R.array.pmwang_keep_enabled_whitelist)) {
+            keepEnabledPackages.add(s);
+        }
+        /*[PMWANG]["Search Engine Selector"应用详情界面不允许"DISABLE"]END */
+        
         return keepEnabledPackages;
     }

packages/apps/Settings/res/values/pmwang_strings.xml

+   
+   
+        com.google.android.apps.setupwizard.searchselector
+   

+   
+

你可能感兴趣的:(设置应用disable,android,java,android,javascript)