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

Commit 56d6691e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add null check after getApplicationInfo in InstantAppNotifier"

parents e032bc41 c0bb7ecc
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -234,7 +234,7 @@ public class InstantAppNotifier extends SystemUI
                ApplicationInfo appInfo =
                ApplicationInfo appInfo =
                        pm.getApplicationInfo(
                        pm.getApplicationInfo(
                                pkg, PackageManager.MATCH_UNINSTALLED_PACKAGES, info.userId);
                                pkg, PackageManager.MATCH_UNINSTALLED_PACKAGES, info.userId);
                if (appInfo.isInstantApp()) {
                if (appInfo != null && appInfo.isInstantApp()) {
                    postInstantAppNotif(
                    postInstantAppNotif(
                            pkg,
                            pkg,
                            info.userId,
                            info.userId,