-
- Downloads
Get communal widget allowlist from config.xml
Defines the component names for the widget allowlist in config xml and stores the metadata in CommunalWidgetRepository, which will later be needed when creating the db. The metadata will be used to create the widget inventory flow. Bug: b/303844599 Test: atest CommunalWidgetRepositoryImplTest Change-Id: I40e931be85dd0459b3ad092668eb64f8392ca840
Showing
- packages/SystemUI/res/values/config.xml 3 additions, 0 deletionspackages/SystemUI/res/values/config.xml
- packages/SystemUI/src/com/android/systemui/communal/data/model/CommunalWidgetMetadata.kt 31 additions, 0 deletions...id/systemui/communal/data/model/CommunalWidgetMetadata.kt
- packages/SystemUI/src/com/android/systemui/communal/data/repository/CommunalWidgetRepository.kt 27 additions, 0 deletions...emui/communal/data/repository/CommunalWidgetRepository.kt
- packages/SystemUI/src/com/android/systemui/communal/shared/CommunalContentSize.kt 8 additions, 0 deletions...m/android/systemui/communal/shared/CommunalContentSize.kt
- packages/SystemUI/tests/src/com/android/systemui/communal/data/repository/CommunalWidgetRepositoryImplTest.kt 44 additions, 0 deletions...munal/data/repository/CommunalWidgetRepositoryImplTest.kt
- packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/FakeCommunalWidgetRepository.kt 2 additions, 0 deletions.../communal/data/repository/FakeCommunalWidgetRepository.kt
Loading
Please register or sign in to comment