commit | dd448e5823f314437db5aace006053fe256aad00 | [log] [tgz] |
---|---|---|
author | Vladimir Komsiyski <vladokom@google.com> | Wed Feb 01 12:36:19 2023 +0100 |
committer | Vladimir Komsiyski <vladokom@google.com> | Wed Feb 08 08:56:30 2023 +0100 |
tree | 58a9c1d1f828112e50d4b55303141f12b61375dd | |
parent | 67d486820777ed42f71c45a8fbd7c1a9149b28a3 [diff] |
Fix Instrumentation#setInTouchMode behavior. Instrumentation#setInTouchMode should set the touch mode for all displays, regardless of the value of the perDisplayFocusEnabled flag and whether any display has own touch mode / own focus. The fix is WindowManagerService#setInTouchModeOnAllDisplays ignoring the "own focus" property of displays. Test: atest TouchModeTest Test: atest WindowManagerServiceTests Fix: 267331091 Change-Id: I5a9010e23e3d91ac65f2d7ee8790cf2288bed1a2