OSDN Git Service

Fixing potential ConcurrentModificationException
authorSunny Goyal <sunnygoyal@google.com>
Mon, 8 Aug 2016 17:10:01 +0000 (10:10 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Mon, 8 Aug 2016 17:13:33 +0000 (10:13 -0700)
commit5f06401807ef408a4b56a127bef1f0b55b0adcf6
treeda9cc2700e2de2af6b53498582735da64971b983
parentbdc9f325b6eb97f674217bb0de51765e71b7023e
Fixing potential ConcurrentModificationException

mBgDeepShortcutMap is only accessed on the background thread. But
the same instance of list of values was getting passed to the UI
thread, instead of being cloned.

Change-Id: Ie7d0442d895304489ce9323ea872b9091d668ae5
src/com/android/launcher3/LauncherModel.java
src/com/android/launcher3/util/MultiHashMap.java