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

Commit 5277da96 authored by Kevin Chang's avatar Kevin Chang
Browse files

Add footer preference into caption preferences

Add footer preference into caption preferences to tell users
that the setting doesn't support all apps.

Reference link of screenshot:
https://drive.google.com/file/d/1VzpWa4M-4HjlfjDNNqrEIKwo3v0y_f51/view?usp=sharing

Bug: 135888603
Test: Visual
Change-Id: I95e0aa301eba7343fbc798cc406c0242f4f4eb7e
Merged-In: I95e0aa301eba7343fbc798cc406c0242f4f4eb7e
(cherry picked from commit 8f4b8b9a)
parent 800e8a48
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4959,6 +4959,8 @@
    <string name="accessibility_daltonizer_master_switch_title">Use color correction</string>
    <!-- Used in the Captions settings screen to control turning on/off the feature entirely -->
    <string name="accessibility_caption_master_switch_title">Use captions</string>
    <!-- Used in the Captions preference to tell users that the setting doesn't support all apps. [CHAR LIMIT=NONE] -->
    <string name="accessibility_caption_preference_summary">Not all apps support this setting.</string>
    <!-- Button text for the accessibility dialog continue to the next screen for hearing aid. [CHAR LIMIT=32] -->
    <string name="accessibility_hearingaid_instruction_continue_button">Continue</string>
+4 −0
Original line number Diff line number Diff line
@@ -88,4 +88,8 @@
            android:title="@string/captioning_window_opacity" />
    </PreferenceCategory>

    <com.android.settingslib.widget.FooterPreference
        android:title="@string/accessibility_caption_preference_summary"
        android:selectable="false" />

</PreferenceScreen>