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

Skip to content
Commit 03f5b4dc authored by Coco Duan's avatar Coco Duan
Browse files

Drag & drop to reorder and remove widget from glanceable hub

Added the infrastructure to handle drag & drop in the glanceable
hub grid when in edit mode to reorder and remove widgets.
Defined an edit state for the content list to store the ongoing
changes during dragging. On drag ends, persisit the state to db.
Only widget card is draggable and can be the drop target.

Bug: b/310969547
Flag: ACONFIG com.android.systemui.communal_hub DEVELOPMENT
Test: atest CommunalWidgetDaoTest
Test: atest CommunalWidgetRepositoryImplTest
Test: atest CommunalInteractorTest
Change-Id: I78357990e1494d784e7ccc3787c6d61019a5dd8d
parent 2b221f88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment