Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a6b481a7 authored by Antonio Kantek's avatar Antonio Kantek
Browse files

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
parent 0ba977d4
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