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

Commit d178d4d1 authored by Qijing Yao's avatar Qijing Yao
Browse files

Add flag for blocking window drag to non-desktop-mode display

Flag: com.android.window.flags.enable_block_non_desktop_display_window_drag_bugfix
Bug: 383069176
Test: m
Change-Id: I6463b297b3134d7b0fd0049017a42bf187231954
parent 160e1c04
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -63,6 +63,9 @@ public enum DesktopExperienceFlags {
    ENABLE_ACTIVITY_EMBEDDING_SUPPORT_FOR_CONNECTED_DISPLAYS(
            Flags::enableActivityEmbeddingSupportForConnectedDisplays, true,
            Flags.FLAG_ENABLE_ACTIVITY_EMBEDDING_SUPPORT_FOR_CONNECTED_DISPLAYS),
    ENABLE_BLOCK_NON_DESKTOP_DISPLAY_WINDOW_DRAG_BUGFIX(
            Flags::enableBlockNonDesktopDisplayWindowDragBugfix, false,
            Flags.FLAG_ENABLE_BLOCK_NON_DESKTOP_DISPLAY_WINDOW_DRAG_BUGFIX),
    ENABLE_BUG_FIXES_FOR_SECONDARY_DISPLAY(Flags::enableBugFixesForSecondaryDisplay, true,
            Flags.FLAG_ENABLE_BUG_FIXES_FOR_SECONDARY_DISPLAY),
    ENABLE_CONNECTED_DISPLAYS_DND(Flags::enableConnectedDisplaysDnd, true,
+10 −0
Original line number Diff line number Diff line
@@ -1337,3 +1337,13 @@ flag {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "enable_block_non_desktop_display_window_drag_bugfix"
    namespace: "lse_desktop_experience"
    description: "Block window drag to a non-desktop-mode display."
    bug: "383069176"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}