Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
88f98985d5
@@ -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