summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-08-25 19:09:02 +0200
committer Matías Hernández <matiashe@google.com> 2024-08-29 18:08:44 +0000
commite4f5f6c4c81ebdb24105ac68f492ee1f34f135ca (patch)
tree8bd315da3936ed7a0afb85e173745189e7e6a877 /api/api.go
parenta3c982cc6cbff37e7f45d0c9f04fb174cd67d695 (diff)
Update ZenModeInteractor.activeModes to include all relevant data
* Both remove unimportant details (like all fields of ZenMode except name and icon) and include the icon of the main active mode, so that consumers have all they need. * Use ActiveZenModes from tile and Smartspace. * Update status bar to also use the preloaded icon from ActiveZenModes (with the caveat that theming and size still need to be adjusted). Bug: 360399800 Bug: 361611824 Test: atest ModesTileDataInteractorTest ModesTileMapperTest ModesTileUserActionInteractorTest ZenModeInteractorTest & atest KeyguardZenAlarmViewControllerTest PhoneStatusBarPolicyTest Flag: android.app.modes_ui Change-Id: Ie1e535717804a39edb32a79ab008ea40532bfd57
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions