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

Commit 421d8f5f authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Fix NPE for MATCH_FACTORY_ONLY

Bug: 28087606
Change-Id: Ib86c5189aa9a9ca87504625dd19bdeab56fd4967
parent 347bb9a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3036,7 +3036,7 @@ public class PackageManagerService extends IPackageManager.Stub {
            }
            if (p == null) {
                p = mPackages.get(packageName);
                if (matchFactoryOnly && !isSystemApp(p)) {
                if (matchFactoryOnly && p != null && !isSystemApp(p)) {
                    return null;
                }
            }