summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2022-05-16 15:40:48 +0000
committer Prabir Pradhan <prabirmsp@google.com> 2022-05-19 11:14:52 +0000
commit95d4868018857ecf747ef89bf791c2d2a8bfb498 (patch)
tree036b64cfe65242483bbcbe93ce5d6cb8ddccb258 /libs/androidfw/ResourceTimer.cpp
parent92e59dde2f7745fd830d716cc41ebec83f9d65f5 (diff)
IMS: Refactor additional display input properties to avoid deadlock
We must avoid calling services outside input when holding the properties lock. Calling mWindowManagerCallbacks.getPointerDisplayId() holding the lock can result in a deadlock. We also refactor AdditionalDisplayInputProperties changes to make this easier to enforce and make it more readable. Bug: 232457532 Test: atest InputManagerServiceTests Test: atest VirtualMouseTest Change-Id: I9b95814903b7a4a646d6b4e4910c9e88dd2e0174 Merged-In: I9b95814903b7a4a646d6b4e4910c9e88dd2e0174
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions