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

Commit 6aff0ffe 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

am: 53d87ebb

Change-Id: Ie0877eefee8c61c95ffa16303d56c6a448933032
parents d1d3d0fc 53d87ebb
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;
        }