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

Commit 5159d60f authored by jasonwshsu's avatar jasonwshsu
Browse files

Update string to more precisely name

Add prefix to the string name, Live Caption, indicating where it's used.

Bug: 345692996
Test: build pass & check hearing devices dialog string is expected
Flag: EXEMPT resource only update
Change-Id: Ic5a00fa439c7eb66c05f772cc08c11d611c61bb4
parent 0a258ab8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -971,8 +971,8 @@
    <string name="hearing_devices_presets_error">Couldn\'t update preset</string>
    <!-- QuickSettings: Title for hearing aids presets. Preset is a set of hearing aid settings. User can apply different settings in different environments (e.g. Outdoor, Restaurant, Home) [CHAR LIMIT=40]-->
    <string name="hearing_devices_preset_label">Preset</string>
    <!-- QuickSettings: Tool name for hearing devices dialog related tools [CHAR LIMIT=40]-->
    <string name="live_caption_title">Live Caption</string>
    <!-- QuickSettings: Tool name for hearing devices dialog related tools [CHAR LIMIT=40] [BACKUP_MESSAGE_ID=8916875614623730005]-->
    <string name="quick_settings_hearing_devices_live_caption_title">Live Caption</string>

    <!--- Title of dialog triggered if the microphone is disabled but an app tried to access it. [CHAR LIMIT=150] -->
    <string name="sensor_privacy_start_use_mic_dialog_title">Unblock device microphone?</string>
+2 −1
Original line number Diff line number Diff line
@@ -499,7 +499,8 @@ public class HearingDevicesDialogDelegate implements SystemUIDialog.Delegate,
        final List<ResolveInfo> resolved = packageManager.queryIntentActivities(LIVE_CAPTION_INTENT,
                /* flags= */ 0);
        if (!resolved.isEmpty()) {
            return new ToolItem(context.getString(R.string.live_caption_title),
            return new ToolItem(
                    context.getString(R.string.quick_settings_hearing_devices_live_caption_title),
                    context.getDrawable(R.drawable.ic_volume_odi_captions),
                    LIVE_CAPTION_INTENT);
        }