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
Loading
Please register or sign in to comment