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

Skip to content
Commit e42bdb4e authored by Darrell Shi's avatar Darrell Shi
Browse files

Reland keeping selection of widget at the end of dragging

Previously, the Glanceable Hub clears widget selection as soon as a
widget dragging starts. This change makes it so that a drag action also
selects that widget being dragged, and does not reset it after the
dragging completes.

The previous change was reverted due to a regression that the widget
resize outline shows during dragging which appears above the dragging
widget. This change has fixed that.

Test: atest CommunalEditModeViewModelTest
Test: verified selection remains at the end of a widget dragging;
      see bug for before and after video
Test: verified outline does not show above the dragging widget; see
      video
Fix: 376492600
Flag: com.android.systemui.communal_hub
Change-Id: I2c6159daea53947674ccaf6ccab4e570c60cff3d
parent 30945106
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