summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Yasin Kilicdere <tyk@google.com> 2024-09-06 16:09:18 +0000
committer Yasin Kilicdere <tyk@google.com> 2024-09-06 16:09:57 +0000
commit85c8c448e894b16be4a0d96ba3aeb4d2d3fa2b81 (patch)
tree5069ab35768504dd1bff5ff0e77ab1920612d196 /libs/input/PointerController.cpp
parentdb99fedeadd331fa8f037d90902a23dfc530febc (diff)
Make UserTrackerImpl.userInfo thread-safe.
The userInfo property was not synchronized, which was causing crashes in some cases. In the previous implementation userProfiles could change and not contain the userId, throwing NoSuchElementException. This CL makes the property thread-safe. Bug: 363466988 Change-Id: Ibc5f9ea8d50f729e9d24b4647999350b4ea577a4 Test: None Flag: EXEMPT bugfix
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions