diff options
| author | 2025-03-07 19:18:02 +0900 | |
|---|---|---|
| committer | 2025-03-07 04:42:20 -0800 | |
| commit | 0b0e8ff4a626fb1f0356cee7e0e0f336ff9e8737 (patch) | |
| tree | b3234b09af8c621fa93c33d48f81073bf0683292 /libs/androidfw/StringPool.cpp | |
| parent | 4f06c68fa4a691d8cf9d9d43cbdb994011674b01 (diff) | |
Clear indicator surfaces on drag end for same-display drags
Using DragPositioningCallbackUtility for same-display drag bounds
(I6797e11536) prevented the MultiDisplayDragMoveIndicatorController from
properly clearing indicator surfaces on drag end. This caused potential
surface leaks when drags started and ended on the same display but
traversed other displays.
This change ensures that onDragEnd() is always called on the indicator
controller, guaranteeing that all surfaces are properly disposed of.
Bug: 401464337
Test: Manual; atest
Flag: com.android.window.flags.enable_connected_displays_window_drag
Change-Id: Iebfc4d1b017be695d6d5bbb8ef61670c276eefe9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions