summaryrefslogtreecommitdiff
path: root/opengl/java/javax
diff options
context:
space:
mode:
author Coco Duan <cocod@google.com> 2024-02-07 18:25:25 +0000
committer Coco Duan <cocod@google.com> 2024-02-07 23:03:21 +0000
commit09b1588e58717495102c7834fce8cb1f5bc0a3f4 (patch)
treed2d24526803e2e6b4400dc5b5e4834e89331a1a1 /opengl/java/javax
parent3f220263b9de9c161f174abda4f61653434bae39 (diff)
Clean up delete widget functions in CommunalWidgetRepository
This follow-up change (after ag/26073820) is to consolidate the two deleteFromHost() and deleteFromDb() into one deleteWidget() function for simplicity. Still use DB as the source of truth to check whether the id requested to be deleted exists then delete. If returning false, nothing will be deleted from DB or widget host. Bug: b/323265998 Test: atest CommunalWidgetRepositoryImplTest Flag: ACONFIG com.android.systemui.communal_hub STAGING Change-Id: Ied2c69bcdfad7007bbcb6762cb96ff2239752729
Diffstat (limited to 'opengl/java/javax')
0 files changed, 0 insertions, 0 deletions