Merge "Set tile label when state is updated" into rvc-dev am: c4012e1bd5 am: 5f7443750b
Change-Id: Ie481e63bd0185eb74f354096872a23a27e7bf53a
This commit is contained in:
@@ -72,6 +72,7 @@ public class ScreenRecordTile extends QSTileImpl<QSTile.BooleanState>
|
||||
|
||||
state.value = isRecording || isStarting;
|
||||
state.state = (isRecording || isStarting) ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;
|
||||
state.label = mContext.getString(R.string.quick_settings_screen_record_label);
|
||||
|
||||
if (isRecording) {
|
||||
state.icon = ResourceIcon.get(R.drawable.ic_qs_screenrecord);
|
||||
|
||||
Reference in New Issue
Block a user