Loading packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java +5 −1 Original line number Diff line number Diff line Loading @@ -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) { Loading Loading
packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java +5 −1 Original line number Diff line number Diff line Loading @@ -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) { Loading