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

Commit 5fc179b2 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

Change-Id: Iaa7f97df590cbf93e1d5c942dae5f3be55988f11
parents 06659047 69be98ae
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -649,8 +649,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) {