diff --git a/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java b/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java index 87d25dd5cad..bd45884c87e 100644 --- a/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java +++ b/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java @@ -236,7 +236,7 @@ public class RecentNotifyingAppsPreferenceController extends AbstractPreferenceC final String pkgName = app.getPackage(); final ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry(app.getPackage(), app.getUserId()); - if (appEntry == null) { + if (appEntry == null || appEntry.label == null) { continue; }