Load zen mode type icon options from the proper resources

* Move default mode icons from Settings res to core res.
* Add array resources for the icon options and their descriptions.
* As the initial version of the list, use the default mode icons.

Bug: 333901673
Test: atest IconOptionsProviderImplTest
Flag: android.app.modes_ui
Change-Id: I66669e67a9d607268c05d5ed3df6c9555e57864c
This commit is contained in:
Matías Hernández
2024-06-13 14:37:35 +02:00
parent 37bdf39ad6
commit 22c325a099
17 changed files with 177 additions and 289 deletions

View File

@@ -44,7 +44,6 @@ public class ZenModeIconPickerFragment extends ZenModeFragmentBase {
new ZenModeIconPickerIconPreferenceController(context, "current_icon", this,
mBackend),
new ZenModeIconPickerListPreferenceController(context, "icon_list", this,
// TODO: b/333901673 - Replace with correct icon list.
new TempIconOptionsProvider(), mBackend));
new IconOptionsProviderImpl(mContext), mBackend));
}
}