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

Commit 88f98985 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 4f7fd183 03f85fef
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;
        }