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

am: 88f98985d5

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

View File

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