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

Commit 69be98ae 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

Change-Id: If33e23972770c50cf83a42d8621d31b15b945524
parents 900620cf cb4a3c55
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) {