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

Commit f5d40d9a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add null check after getApplicationInfo in InstantAppNotifier" am: 56d6691e

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890539

Change-Id: Ic3c9ba54dce4ebf5a00e901e6fdf1bf701301810
parents a0295213 56d6691e
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,