代码位置:frameworks/base/services/core/java/com/android/server/pm/PackageManagerService.java
@@ -1853,10 +1853,10 @@ public class PackageManagerService extends IPackageManager.Stub
mPermissionCallback);
}
- final String packageName = res.pkg.applicationInfo.packageName;
- if ("com.tencent.tmgp.sgame".equals(packageName)) {
- grantPermissions = true;
- }
+ //final String packageName = res.pkg.applicationInfo.packageName;
+ //if ("com.tencent.tmgp.sgame".equals(packageName)) {
+ grantPermissions = true;
+ //}
// Now that we successfully installed the package, grant runtime
// permissions if requested before broadcasting the install. Also