Merge "Fix a Deletion Helper crash when it fails to get an app list." into nyc-mr1-dev
This commit is contained in:
@@ -153,6 +153,7 @@ public class DeletionHelperFragment extends SettingsPreferenceFragment implement
|
||||
final ArrayList<AppEntry> apps =
|
||||
mSession.rebuild(AppStateUsageStatsBridge.FILTER_USAGE_STATS,
|
||||
ApplicationsState.SIZE_COMPARATOR);
|
||||
if (apps == null) return;
|
||||
mAppEntries = apps;
|
||||
cacheRemoveAllPrefs(mApps);
|
||||
int entryCount = apps.size();
|
||||
|
Reference in New Issue
Block a user