summaryrefslogtreecommitdiff
path: root/libs/input/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Denis Hsu <denis.hsu@mediatek.com> 2020-06-17 10:17:30 +0800
committer Chavi Weingarten <chaviw@google.com> 2020-12-08 00:21:31 +0000
commit58fbf9fb2c82ee09b0d572e0936b8370c4d35aef (patch)
treedf11e9a497a58698ead7f8da17869768ac23d719 /libs/input/KeyLayoutMap.cpp
parent564de3bb1f75489d2b052c7bbeb321b231f9bb05 (diff)
SF: update mInputFlinger on main thread
mInputFlinger can be accessed by bootFinished() and updateInputFlinger(). These function can run in different thread at the same time, but mInputFlinger was not protected. update mInputFlinger on main thread Fixes: 157871763 Fixes: 147009853 Fixes: 169256435 Test: adb shell stop / start Test: boot ok Test: Race was only reproducible in monkey tests Change-Id: I4d87e90793a88a646aaa1ae5806f118f1ae51e30 Merged-In: I4d87e90793a88a646aaa1ae5806f118f1ae51e30
Diffstat (limited to 'libs/input/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions