summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nikolas Havrikov <havrikov@google.com> 2021-12-22 15:02:39 +0100
committer Nikolas Havrikov <havrikov@google.com> 2022-01-04 17:53:54 +0100
commit3b5a09c14c631ed64239baaadb4919d1dd46431d (patch)
tree5b50683498d26b0031e5dd50520f258f07a5ff86 /libs/androidfw/StringPool.cpp
parentf724ab4719a0ca1d9f66be026e0440da3dc20273 (diff)
Refactor locking in input method framework
This CL introduces a static global lock ImfLock.class to be used instead of the mMethodMap. This allows to avoid erroneous warnings from the errorprone checker. Also, this CL fixes some cases, in which locked resources were accessed without holding the appropriate lock. Bug: 205676419 Test: atest CtsInputMethodTestCases Test: RUN_ERROR_PRONE=true m services -j | grep -e InputMethod | grep GuardedBy Change-Id: If50984d23410b11eb5f8ae731e1c0c5ca92447c6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions