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