Merge "Merge "Add null check after getApplicationInfo in InstantAppNotifier" am: 56d6691e8e am: f5d40d9afa am: 76665a6498"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e0b7d6464e
@@ -234,7 +234,7 @@ public class InstantAppNotifier extends CoreStartable
|
||||
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