Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 512090df authored by Chad Brubaker's avatar Chad Brubaker Committed by android-build-merger
Browse files

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

am: 88f98985

Change-Id: Ia7c23dbba33f8f984c31457ae9f88a4bbfcc466c
parents 966d24af 88f98985
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
        }