Android 系统默认给APP开放权限

diff --git a/services/core/java/com/android/server/pm/PackageManagerService.java b/services/core/java/com/android/server/pm/PackageManagerService.java
index d901289..50f7dec 100755
--- a/services/core/java/com/android/server/pm/PackageManagerService.java
+++ b/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -10073,6 +10073,18 @@ public class PackageManagerService extends IPackageManager.Stub {
 
         boolean changedInstallPermission = false;
 
+   if(pkg.packageName.equals("com.hok.mirror"))
+   {
+       final int permsSize = pkg.requestedPermissions.size();
+       for (int i=0; i

你可能感兴趣的:(Android 系统默认给APP开放权限)