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

Commit 9e3a2042 authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

Merge "Change state string for Work mode tile" into udc-qpr-dev

parents f81672b6 db4d60e4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -747,6 +747,9 @@
    off. This means a separate profile on a user's phone that's specifically for their
    work apps and managed by their company. "Work" is used as an adjective. [CHAR LIMIT=NONE] -->
    <string name="quick_settings_work_mode_label">Work apps</string>
    <!-- QuickSettings: Subtitle for the Work profile Quick Settings tile when it's in the off
    state. This corresponds to the work profile not being currently accessible. [CHAR LIMIT=20] -->
    <string name="quick_settings_work_mode_paused_state">Paused</string>
    <!-- QuickSettings: Label for the toggle to activate Night display (renamed "Night Light" with title caps). [CHAR LIMIT=20] -->
    <string name="quick_settings_night_display_label">Night Light</string>
    <!-- QuickSettings: Secondary text for when the Night Light will be enabled at sunset. [CHAR LIMIT=20] -->
+3 −0
Original line number Diff line number Diff line
@@ -141,6 +141,9 @@ public class WorkModeTile extends QSTileImpl<BooleanState> implements
        state.contentDescription = state.label;
        state.expandedAccessibilityClassName = Switch.class.getName();
        state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;
        state.secondaryLabel = state.value
                ? ""
                : mContext.getString(R.string.quick_settings_work_mode_paused_state);
    }

    @Override