summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Coco Duan <cocod@google.com> 2023-11-15 15:57:11 +0000
committer Coco Duan <cocod@google.com> 2023-11-17 14:41:52 +0000
commit03f5b4dc70ee14cdbb52da4c1b44ee636a0b9cf8 (patch)
tree3d2fe1bf46b2b91a6771987cc43380477c048224 /api/api.go
parent2b221f88b01d04a4d314a3a79e2d81c4a9d36b1d (diff)
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions