设置->安全->应用权限 默认打开

真难找,查了好几天终于找到啦!

mediatek/packages/apps/PermissionControl/src/com/mediatek/security/service/PermControlUtils.java

---a/packages/apps/PermissionControl/src/com/mediatek/security/service/PermControlUtils.java
+++ b/packages/apps/PermissionControl/src/com/mediatek/security/service/PermControlUtils.java
@@ -162,6 +162,7 @@ public class PermControlUtils {
             }
             Xlog.d(TAG,"sPermControlMap = " + sPermControlMap);
         }
+        enablePermissionControl(true,context);
     }

你可能感兴趣的:(framework)