Merge "Set tile label when state is updated" into rvc-dev am: c4012e1bd5 am: 5f7443750b am: 955c74193e
Change-Id: I68374bb6bceca23b2f21e01b3b28a157ff56a81d
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