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

Commit 05fd89e0 authored by Ryota Okuji's avatar Ryota Okuji
Browse files

Add tile states for DesktopEffectsTile

Flag: com.android.systemui.desktop_effects_qs_tile
Bug: 376797327
Test: CQ
Change-Id: Id2c02f520587b1aaffb8b603499f70d7e3a0bb63
parent 7a022439
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -358,4 +358,14 @@
        <item>Off</item>
        <item>On</item>
    </string-array>

    <!-- State names for desktop effects tile: unavailable, off, on.
     This subtitle is shown when the tile is in that particular state but does not set its own
     subtitle, so some of these may never appear on screen. They should still be translated as
     if they could appear. [CHAR LIMIT=32] -->
    <string-array name="tile_states_desktopeffects">
        <item>Unavailable</item>
        <item>Off</item>
        <item>On</item>
    </string-array>
</resources>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ object SubtitleArrayMapping {
        subtitleIdsMap["font_scaling"] = R.array.tile_states_font_scaling
        subtitleIdsMap["hearing_devices"] = R.array.tile_states_hearing_devices
        subtitleIdsMap["notes"] = R.array.tile_states_notes
        subtitleIdsMap["desktopeffects"] = R.array.tile_states_desktopeffects
    }

    /** Get the subtitle resource id of the given tile */