diff options
| author | 2015-12-01 16:37:31 +0800 | |
|---|---|---|
| committer | 2015-12-08 21:40:27 +0800 | |
| commit | 60a74318163968ce3db46c1952ed7bc4f8ce530e (patch) | |
| tree | 3c6d90b365c1891351e25c53d4e09e5ecaf43f8f /libs/hwui/ProgramCache.cpp | |
| parent | 7d72975c5b3e6f18710f078199e7a9e3f9376c60 (diff) | |
ConcurrentModificationException in SyncManager
updateRunningAccounts and dispatchSyncOperation is running in different thread,
and mActiveSyncContexts not synchronization.
If methods occur together,
mActiveSyncContexts change may occur when cycle is running.
Sample:
https://code.google.com/p/android/issues/detail?id=195341
Solution:
Offboard the traversal from the main thread to the handler thread.
Change-Id: Ifb9fbb466a5087186be31f7877c50b8c8b6737e4
Signed-off-by: wangzhengan <wangzglx@gmail.com>
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions