QS Tile Icons: use Icon.res, ditch state.iconResId
This prevents icon.res and state.iconResId inconsistency and so prevents redundant icon loading which improves performance. Bug: 383761789 Flag: com.android.systemui.qs_new_tiles Test: atest ModesTileTest AirplaneModeMapperTest AlarmTileMapperTest BatterySaverTileMapperTest ColorCorrectionTileMapperTest FontScalingTileMapperTest HearingDevicesTileMapperTest InternetTileMapperTest ColorInversionTileMapperTest LocationTileMapperTest ModesTileMapperTest NightDisplayTileMapperTest NotesTileMapperTest QRCodeScannerTileMapperTest QSTileViewModelImplTest ReduceBrightColorsTileMapperTest RotationLockTileMapperTest DataSaverTileMapperTest ScreenRecordTileMapperTest SensorPrivacyToggleTileMapperTest WorkModeTileMapperTest Change-Id: I18b2b3c3a085f3bd5eb3ed445ef868d026162786
Loading
Please register or sign in to comment