diff options
author | Pinyao Ting <pinyaoting@google.com> | 2021-05-17 13:52:19 -0700 |
---|---|---|
committer | Pinyao Ting <pinyaoting@google.com> | 2021-05-17 20:57:35 +0000 |
commit | 018017e208311595928ca842b2a5a6af59834cb1 (patch) | |
tree | 8f01d06974d620466c479d9acbc74de198505d3b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 290fcdde7dd3c67c151edc97a7485bb0145392e5 (diff) |
Fix concurrent modification error in ShortcutService
The internal api ShortcutService#postValue isn't protected by mLock and
thus causing concurrent modification exception.
This CL temprorary fixes the issue by protecting above api with existing
lock. In the long run we should be moving the lock to package level,
which will be implemented in b/186011943
Bug: 187062117, 188397473, 188277633
Test: manual
Change-Id: I93537f8abe7a2ec2787949d109c6b3045664d8dd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions