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

Commit 7c97bbc3 authored by Alexandra Gherghina's avatar Alexandra Gherghina
Browse files

Bugfix: adds extra null check

Bug: 16976436
Change-Id: Id51fd3125b4e68ff7c0ec37ec031fcb8ff882ed4
parent 14690b0a
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