Merge "Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev am: 88f98985d5" into oc-dev-plus-aosp

This commit is contained in:
Android Build Merger (Role)
2017-06-21 08:20:47 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}