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

Skip to content
Commit 3e62d4f2 authored by Evan Rosky's avatar Evan Rosky
Browse files

Keep existing focus during transient-launch.

If the user hasn't moved enough, the touch event is supposed to
go through the gesture-bar to the app. Once the user has moved
enough, though, the inputs should go to the launcher.

In legacy, touches automatically went to the live-tile because
the launcher was launch-behind (and thus not focused) but an
input consumer had to be added once the gesture started to take
events away from the app.

Shell is the opposite, launcher is on top so it would get focus
automatically; however, we need to add logic for the app to
hold-onto its focus until the gesture starts. This CL adds a rule
where transient-launches do not automatically take focus. If it
wants focus, it can make an explicit focus request.

Bug: 266660298
Test: SettingsActivityUiAutomatorTest#unblockAppDialogTest
      CloseImeWindowToHomeTest
Change-Id: I5ab01dc56dd4ae8bd40d5035ea985f9d562ac866
parent 1e980081
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