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

Commit c1afeb27 authored by Su, Weihua's avatar Su, Weihua Committed by android-build-merger
Browse files

Merge "Fix crash issue on Storage Manager app" am: cb4a3c55 am: 69be98ae

am: 5fc179b2

Change-Id: I13a5780d407f596a7026d36d55130fa98eb0882f
parents 48be310e 5fc179b2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -686,8 +686,12 @@ public class ApplicationsState {
            }

            if (comparator != null) {
                synchronized (mEntriesMap) {
                    // Locking to ensure that the background handler does not mutate
                    // the size of AppEntries used for ordering while sorting.
                    Collections.sort(filteredApps, comparator);
                }
            }

            synchronized (mRebuildSync) {
                if (!mRebuildRequested) {