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:
@@ -236,7 +236,7 @@ public class RecentNotifyingAppsPreferenceController extends AbstractPreferenceC
|
|||||||
final String pkgName = app.getPackage();
|
final String pkgName = app.getPackage();
|
||||||
final ApplicationsState.AppEntry appEntry =
|
final ApplicationsState.AppEntry appEntry =
|
||||||
mApplicationsState.getEntry(app.getPackage(), app.getUserId());
|
mApplicationsState.getEntry(app.getPackage(), app.getUserId());
|
||||||
if (appEntry == null) {
|
if (appEntry == null || appEntry.label == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user