diff options
| author | 2023-10-19 21:35:01 +0000 | |
|---|---|---|
| committer | 2023-11-07 22:56:01 +0000 | |
| commit | d8ef181897c39dea07fbb5de0c8d2d19f169f08a (patch) | |
| tree | 854a614b096ad12aa9889e86bc3e6d448e22b3b6 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 10614f6487059a631cda474e820a6e6ff33e208d (diff) | |
Store communal widget info in database and support editing widgets
- Use the Room database to store default and user selected
widgets and their orders, so they can be persisted to provide
a customizable glaceable hub.
- Updated the CommunalWidgetRepository to return a flow of
active widgets stored in db. The communal hub will collect
a transformed flow of this to render the cards.
- Added a + and x button to prototype adding a stopwatch
widget and removing a widget from the grid. This will
be updated when we integrate with the widget picker.
Bug: b/306500486
Flag: ACONFIG com.android.systemui.communal.communal_hub DEVELOPMENT
Test: atest CommunalWidgetRepositoryImplTest
Test: atest CommunalWidgetDaoTest
Test: on device
Change-Id: Ie9d1d60e50fe669a7b9cfbc0ee12282a28170cbd
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions