Merge "Add null check for app labels" into sc-dev am: cc28a0826e

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14426523

Change-Id: I0fc26100de7d9874cd1a4402a6ba24bc3172fdc3
This commit is contained in:
TreeHugger Robot
2021-05-04 17:19:03 +00:00
committed by Automerger Merge Worker

View File

@@ -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;
}