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

Commit 651f3d64 authored by Qijing Yao's avatar Qijing Yao
Browse files

Add flag for smoother window drop transition

Flag: com.android.window.flags.enable_window_drop_smooth_transition
Bug: 398992368
Test: m
Change-Id: I309752e608ee0f948bc01dc7d153339ab78a7921
parent 5c2fdd48
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -222,6 +222,8 @@ public enum DesktopExperienceFlags {
            Flags.FLAG_ENABLE_WINDOWING_TRANSITION_HANDLERS_OBSERVERS),
    ENABLE_WINDOW_DECORATION_REFACTOR(Flags::enableWindowDecorationRefactor, false,
            Flags.FLAG_ENABLE_WINDOW_DECORATION_REFACTOR),
    ENABLE_WINDOW_DROP_SMOOTH_TRANSITION(Flags::enableWindowDropSmoothTransition, false,
            Flags.FLAG_ENABLE_WINDOW_DROP_SMOOTH_TRANSITION),
    ENABLE_WINDOW_REPOSITIONING_API(Flags::enableWindowRepositioningApi, false,
            Flags.FLAG_ENABLE_WINDOW_REPOSITIONING_API),
    ENTER_DESKTOP_BY_DEFAULT_ON_FREEFORM_DISPLAYS(Flags::enterDesktopByDefaultOnFreeformDisplays,
+10 −0
Original line number Diff line number Diff line
@@ -1199,6 +1199,16 @@ flag {
    }
}

flag {
    name: "enable_window_drop_smooth_transition"
    namespace: "lse_desktop_experience"
    description: "Enables smoother visual transition when a window is dropped after being dragged."
    bug: "398992368"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "enable_window_repositioning_api"
    namespace: "lse_desktop_experience"