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

Skip to content
Commit c6fb62e9 authored by Qijing Yao's avatar Qijing Yao
Browse files

Prevent unnecessary animation when dragging window within same display

The commit addresses an issue in MultiDisplayVeiledResizeTaskPositioner
where dragging a window within the same display could trigger an
unnecessary animation due to minor changes in width or height caused by
DPI scaling.

The fix involves checking if the drag operation occurs within the same
display. If it does, the logic falls back to the single-display drag
behavior, where we only updates the window left and top coordinates.

See details in b/390370556#comment2

Bug: 390370556
Test: Manual
Flag: com.android.window.flags.enable_connected_displays_window_drag
Change-Id: I6797e115361577955443ae0492c1b72dd1519de1
parent f02aead5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment