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

Commit af2ed30b authored by Regan Hsu's avatar Regan Hsu
Browse files

Do not restore focus when leaving touch mode if window isn't focused

When a window is transitioning out of touch mode, which occurs
when pressing a navigation key or typing on a physical keyboard,
the view should not restore focus if the window does not have
focus.

Bug: 438781414
Test: ViewRootImplTests
Flag: com.android.window.flags.defer_resume_focus_in_non_focused_window

Change-Id: I1a09bf40905321c5da9f1e49a66bd6b7d271a8a6
parent 880e5c0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment