Loading services/core/java/com/android/server/am/ActiveServices.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1043,8 +1043,8 @@ public final class ActiveServices { try { try { if (AppGlobals.getPackageManager().checkPermission( if (AppGlobals.getPackageManager().checkPermission( android.Manifest.permission.INSTANT_APP_FOREGROUND_SERVICE, android.Manifest.permission.INSTANT_APP_FOREGROUND_SERVICE, r.appInfo.packageName, r.appInfo.packageName, UserHandle.getUserId(r.appInfo.uid)) r.appInfo.uid) != PackageManager.PERMISSION_GRANTED) { != PackageManager.PERMISSION_GRANTED) { throw new SecurityException("Instant app " + r.appInfo.packageName throw new SecurityException("Instant app " + r.appInfo.packageName + " does not have permission to create foreground" + " does not have permission to create foreground" + "services"); + "services"); Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -1043,8 +1043,8 @@ public final class ActiveServices { try { try { if (AppGlobals.getPackageManager().checkPermission( if (AppGlobals.getPackageManager().checkPermission( android.Manifest.permission.INSTANT_APP_FOREGROUND_SERVICE, android.Manifest.permission.INSTANT_APP_FOREGROUND_SERVICE, r.appInfo.packageName, r.appInfo.packageName, UserHandle.getUserId(r.appInfo.uid)) r.appInfo.uid) != PackageManager.PERMISSION_GRANTED) { != PackageManager.PERMISSION_GRANTED) { throw new SecurityException("Instant app " + r.appInfo.packageName throw new SecurityException("Instant app " + r.appInfo.packageName + " does not have permission to create foreground" + " does not have permission to create foreground" + "services"); + "services"); Loading