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

Commit c73fb891 authored by Daniel Nishi's avatar Daniel Nishi
Browse files

Fix a Deletion Helper crash when it fails to get an app list.

Bug 28424827
Change-Id: I5c3c426d557fb1647a3909bf88fbb7d24329dc57
parent 7bcafc91
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();