diff options
| author | 2022-02-14 14:04:08 +0000 | |
|---|---|---|
| committer | 2022-02-14 14:04:08 +0000 | |
| commit | 56d6691e8e5a2f0b54e5cd35207e98e89b1683df (patch) | |
| tree | 6cc1c81c6f5cd850eba1a159ff5ff490b88a3c5b | |
| parent | e032bc4139b1d740a0d0876f6c0bdcfe9160010d (diff) | |
| parent | c0bb7ecc72c2809b80a560e37ff367b9c8b07327 (diff) | |
Merge "Add null check after getApplicationInfo in InstantAppNotifier"
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/notification/InstantAppNotifier.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/InstantAppNotifier.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/InstantAppNotifier.java index e58ea7b8b5f3..eddc347dad45 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/InstantAppNotifier.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/InstantAppNotifier.java @@ -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, |