Add last interacted window check in setInTouchMode
Allow touch mode switch if caller owns the focused window. If no window is currently focused, then touch will be still allowed if caller owned one of the previously interacted window. Bug: 218541064 Test: atest inputflinger_tests Test: atest InputDispatcherTouchModeChangedTests Change-Id: I5cfa879a6e1358efe3781061c5712707da813967
Loading
Please register or sign in to comment