Merge "Add null check for app labels" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cc28a0826e
@@ -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