Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 955c7419 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Set tile label when state is updated" into rvc-dev am: c4012e1b am: 5f744375

Change-Id: Ie481e63bd0185eb74f354096872a23a27e7bf53a
parents 20807049 5f744375
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);