Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev
am: 88f98985d5
Change-Id: Ifd33084351941d2fe58f6534014940a18d57528f
This commit is contained in:
@@ -5060,9 +5060,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