Merge "Add null check after getApplicationInfo in InstantAppNotifier" am: 56d6691e8e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890539 Change-Id: Ic3c9ba54dce4ebf5a00e901e6fdf1bf701301810
This commit is contained in:
@@ -234,7 +234,7 @@ public class InstantAppNotifier extends SystemUI
|
||||
ApplicationInfo appInfo =
|
||||
pm.getApplicationInfo(
|
||||
pkg, PackageManager.MATCH_UNINSTALLED_PACKAGES, info.userId);
|
||||
if (appInfo.isInstantApp()) {
|
||||
if (appInfo != null && appInfo.isInstantApp()) {
|
||||
postInstantAppNotif(
|
||||
pkg,
|
||||
info.userId,
|
||||
|
||||
Reference in New Issue
Block a user