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

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

Add flag to defer focus resume in non-focused windows.

This flag gates logic to prevent focus from being restored to a view
within a background window when a user exits touch mode, such as by
pressing an arrow key on a physical keyboard.

Bug: 438781414
Change-Id: Ib922ffe512964c23d62d58a545c3f5c05567242a
Flag: com.android.window.flags.defer_resume_focus_in_non_focused_window
parent 7dca31ff
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -49,6 +49,18 @@ flag {
    }
    }
}
}


flag {
    name: "defer_resume_focus_in_non_focused_window"
    namespace: "lse_desktop_experience"
    description: "Gates the logic that prevents the system from restoring focus to a view /n"
                 "within a background window when a user exits touch mode, for instance, /n"
                 "by pressing an arrow key on a physical keyboard."
    bug: "438781414"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
flag {
    name: "dimming_wallpaper_for_maximized_and_tiled"
    name: "dimming_wallpaper_for_maximized_and_tiled"
    namespace: "lse_desktop_experience"
    namespace: "lse_desktop_experience"