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

Skip to content
Commit 30b5cd7f authored by Josh Yang's avatar Josh Yang
Browse files

[Ambient Touch] Rework input dispatch policies during ambient mode.

1. Simplify wear's special logic in
   shouldDispatchInputWhenNonInteractive().
2. Always pass wakeful motion events to apps during ambient mode.

Test: atest CtsInputTestCases
Test: atest WmTests:PhoneWindowManagerTests
Test: Touch events during ambient mode is received by apps.
Test: Touch events during screen off is not received by apps.
Bug: 270228430
Change-Id: I7ccd0b33f762671f0433d112e9a41397c843dd04
parent c617fdd7
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