diff options
| author | 2025-02-19 13:21:45 +0900 | |
|---|---|---|
| committer | 2025-02-25 11:43:36 +0900 | |
| commit | a840e4a3ac35dfa9d570bb01feb4ad4128d9c158 (patch) | |
| tree | e405c3ca44f03ff7fee5ca7ddfbf3d59a56a5837 /libs/androidfw/AssetManager.cpp | |
| parent | 162331719e8e6ee935be81092fd1777fdafee7c8 (diff) | |
Specify transition handler for window drag across displays
`DefaultTransitionHandler` triggers `startBoundsChangeAnimation` when
`onConfigurationChanged` creates a `snapshot` due to width or height
changes. Dragging a task across displays with different DPIs can change
the task's actual width and height. This is expected, but the animation
is unnecessary and visually distracting since we have drag indicator
surfaces that follow the cursor, providing sufficient visual feedback
to the user.
This change specifies a transition handler that has no animation for
window drag across displays.
Bug: 390370556
Bug: 397354255
Test: Manual
Flag: com.android.window.flags.enable_connected_displays_window_drag
Change-Id: I79ba64abdd6f75f9ab65fd7c98df63707e2255db
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions