commit | 018017e208311595928ca842b2a5a6af59834cb1 | [log] [tgz] |
---|---|---|
author | Pinyao Ting <pinyaoting@google.com> | Mon May 17 13:52:19 2021 -0700 |
committer | Pinyao Ting <pinyaoting@google.com> | Mon May 17 20:57:35 2021 +0000 |
tree | 8f01d06974d620466c479d9acbc74de198505d3b | |
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