Skip to content
Commit 95d48680 authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

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
parent 92e59dde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment