Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev

am: 88f98985d5

Change-Id: Ifc85ffb37f139cd499fd2ebef4cfc6f6d9fcd932
This commit is contained in:
Chad Brubaker
2017-06-21 08:19:51 +00:00
committed by android-build-merger

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