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

Commit 9b4f48f5 authored by Daichi Hirono's avatar Daichi Hirono
Browse files

Add flag for close fullscreen/split-screen shortcut

This change introduces a feature flag to enable the Action+Ctrl+W
keyboard shortcut for closing fullscreen and split-screen tasks,
extending its functionality beyond desktop-only windows.

Bug: 441147192
Test: None
Flag: com.android.window.flags.close_fullscreen_and_splitscreen_keyboard_shortcut
Change-Id: I52bd209e57357ad60827096bd51cbcee603efa4d
parent 597d8b1a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -59,6 +59,9 @@ public enum DesktopExperienceFlags {
    BASE_DENSITY_FOR_EXTERNAL_DISPLAYS(
            com.android.server.display.feature.flags.Flags::baseDensityForExternalDisplays, true,
            com.android.server.display.feature.flags.Flags.FLAG_BASE_DENSITY_FOR_EXTERNAL_DISPLAYS),
    CLOSE_FULLSCREEN_AND_SPLITSCREEN_KEYBOARD_SHORTCUT(
            Flags::closeFullscreenAndSplitscreenKeyboardShortcut, false,
            Flags.FLAG_CLOSE_FULLSCREEN_AND_SPLITSCREEN_KEYBOARD_SHORTCUT),
    CLOSE_TASK_KEYBOARD_SHORTCUT(Flags::closeTaskKeyboardShortcut, true,
            Flags.FLAG_CLOSE_TASK_KEYBOARD_SHORTCUT),
    CONNECTED_DISPLAYS_CURSOR(com.android.input.flags.Flags::connectedDisplaysCursor, true,
+7 −0
Original line number Diff line number Diff line
@@ -22,6 +22,13 @@ flag {
    }
}

flag {
    name: "close_fullscreen_and_splitscreen_keyboard_shortcut"
    namespace: "lse_desktop_experience"
    description: "Enable keyboard shortcut to close fullscreen and split screen tasks"
    bug: "441147192"
}

flag {
    name: "close_task_keyboard_shortcut"
    namespace: "lse_desktop_experience"