Merge "Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev am: 88f98985d5" into oc-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
b4da12905f
@@ -5063,9 +5063,6 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
|
||||
@Override
|
||||
public String getPermissionControllerPackageName() {
|
||||
if (getInstantAppPackageName(Binder.getCallingUid()) != null) {
|
||||
throw new SecurityException("Instant applications don't have access to this method");
|
||||
}
|
||||
synchronized (mPackages) {
|
||||
return mRequiredInstallerPackage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user