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

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

Merge "Ignores resolution if installer is disabled"

parents 3e58039f eb0483ec
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6692,7 +6692,9 @@ public class PackageManagerService extends IPackageManager.Stub
            return result;
        }
        final PackageSetting ps = mSettings.mPackages.get(mInstantAppInstallerActivity.packageName);
        if (ps == null) {
        if (ps == null
                || ps.getUserState().get(userId) == null
                || !ps.getUserState().get(userId).isEnabled(mInstantAppInstallerActivity, 0)) {
            return result;
        }
        final ResolveInfo ephemeralInstaller = new ResolveInfo(mInstantAppInstallerInfo);