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

Commit 40199e3d authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Fix launching installer on missing split

Bonehead mistake; we were applying the post-resolution filters twice.
Don't do that!

Test: build and see that the installer runs when trying to launch a split that's not on the device
Change-Id: Ice65cdd7cc85d0394422009ba42f388f0ec2595c
parent 95502300
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6287,7 +6287,7 @@ public class PackageManagerService extends IPackageManager.Stub {
            } else {
                final PackageParser.Package pkg = mPackages.get(pkgName);
                if (pkg != null) {
                    result = applyPostResolutionFilter(filterIfNotSystemUser(
                    return applyPostResolutionFilter(filterIfNotSystemUser(
                            mActivities.queryIntentForPackage(
                                    intent, resolvedType, flags, pkg.activities, userId),
                            userId), instantAppPkgName);