summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2023-08-16 14:42:06 -0700
committer Siarhei Vishniakou <svv@google.com> 2023-08-16 14:44:01 -0700
commit66b82f93d88ff360d40fcf6f3e366208529cb367 (patch)
treeab04d2591dd96776ef2dad2aed5ca89f9d443228 /libs/gui/ConsumerBase.cpp
parent66f2b3e05fa277d75c7b9ce4462739acae1ccfff (diff)
Access mInputDevices with a lock
Before this CL, 'mInputDevices' was GUARDED_BY mLock, but for some reason, those thread safety annotations weren't working. This only got noticed after I added a debug print to the body of the function 'getInputDevices'. This appears to be a bug with thread safety annotations. Still, the fix here is correct and needed. Bug: 296235458 Test: atest inputflinger_tests Change-Id: I0ae8cc7791e2042e47719ecd5a8ca00b4147be87
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions