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

Commit 7f8821c5 authored by Alexandra Gherghina's avatar Alexandra Gherghina Committed by Android (Google) Code Review
Browse files

Merge "Bugfix: adds extra null check" into lmp-dev

parents 7360591b 7c97bbc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3195,7 +3195,7 @@ public class PackageManagerService extends IPackageManager.Stub {
        if (fromSource != null) {
            packageNames = fromSource.get(targetUserId);
        }
        if (packageNames.contains(intent.getPackage())) {
        if (packageNames != null && packageNames.contains(intent.getPackage())) {
            return true;
        }
        // We need the package name, so we try to resolve with the loosest flags possible