summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Antonio Kantek <kanant@google.com> 2023-05-03 18:15:06 +0000
committer Antonio Kantek <kanant@google.com> 2023-05-04 22:42:27 +0000
commita6b481a7d24f83923544eb24d4f68f51b8fa9054 (patch)
treee1a175befeaa3407ee1f7a5e2bd80442656c834f /wifi/java/src
parent0ba977d4ad7e42d2563d97592e87da169120fbb2 (diff)
Return the default touch mode for dead displays
Certain race conditions may lead to client code trying to manipulate (like adding an window) an already gone virtual display. This CL changes WMS#isInTouchMode to return the default touch mode in case the display passed as argument is already gone. Fix: 280671905 Test: atest FrameworksCoreTests Test: atest WmTests:WindowManagerServiceTests Test: atest CtsInputTestCases:android.input.cts.TouchModeTest Change-Id: Iea61f82ec1945ba0b65ce8af4896b5fb9923af6e
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions