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
Loading
Please register or sign in to comment