Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 883c2141 authored by Daniel Nishi's avatar Daniel Nishi Committed by Android (Google) Code Review
Browse files

Merge "Fix a Deletion Helper crash when it fails to get an app list." into nyc-mr1-dev

parents eeee5312 c73fb891
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();