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

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

Add DEFER_RESUME_FOCUS_IN_NON_FOCUSED_WINDOW to DesktopExperienceFlags.

This flag controls whether focus is deferred during resume for
non-focused windows in desktop mode.

Flag: EXEMPT exposing defer_resume_focus_in_non_focused_window aconfig
Bug: 438781414
Change-Id: I3ce5aa6fb759be2588556563221af4911a77cd10
parent 4cbd479a
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -66,6 +66,8 @@ public enum DesktopExperienceFlags {
            Flags.FLAG_CLOSE_TASK_KEYBOARD_SHORTCUT),
            Flags.FLAG_CLOSE_TASK_KEYBOARD_SHORTCUT),
    CONNECTED_DISPLAYS_CURSOR(com.android.input.flags.Flags::connectedDisplaysCursor, true,
    CONNECTED_DISPLAYS_CURSOR(com.android.input.flags.Flags::connectedDisplaysCursor, true,
            com.android.input.flags.Flags.FLAG_CONNECTED_DISPLAYS_CURSOR),
            com.android.input.flags.Flags.FLAG_CONNECTED_DISPLAYS_CURSOR),
    DEFER_RESUME_FOCUS_IN_NON_FOCUSED_WINDOW(Flags::deferResumeFocusInNonFocusedWindow, false,
            Flags.FLAG_DEFER_RESUME_FOCUS_IN_NON_FOCUSED_WINDOW),
    DISPLAY_TOPOLOGY(com.android.server.display.feature.flags.Flags::displayTopology, true,
    DISPLAY_TOPOLOGY(com.android.server.display.feature.flags.Flags::displayTopology, true,
            com.android.server.display.feature.flags.Flags.FLAG_DISPLAY_TOPOLOGY),
            com.android.server.display.feature.flags.Flags.FLAG_DISPLAY_TOPOLOGY),
    ENABLE_ACTIVITY_EMBEDDING_SUPPORT_FOR_CONNECTED_DISPLAYS(
    ENABLE_ACTIVITY_EMBEDDING_SUPPORT_FOR_CONNECTED_DISPLAYS(