Add null check for app labels
Test: manual Fixes: 187173056 Change-Id: I1affd901bc644597e4af7fc65c81f919c8589ed5
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user