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

Commit 91e5ece7 authored by Jason Hsu's avatar Jason Hsu Committed by Android (Google) Code Review
Browse files

Merge "Align help resource usage in caption preferences." into rvc-dev

parents 11dbe145 0259f84c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7145,6 +7145,8 @@
    <string name="help_url_magnification" translatable="false"></string>
    <string name="help_url_color_correction" translatable="false"></string>
    <string name="help_url_autoclick" translatable="false"></string>
    <!-- Help URL, Accessibility caption preferences [DO NOT TRANSLATE] -->
    <string name="help_url_caption" translatable="false"></string>
    <string name="help_url_system_dashboard" translatable="false"></string>
    <string name="help_url_double_tap_screen" translatable="false"></string>
    <string name="help_url_account_detail" translatable="false"></string>
+5 −0
Original line number Diff line number Diff line
@@ -407,6 +407,11 @@ public class CaptionAppearanceFragment extends SettingsPreferenceFragment
        return true;
    }

    @Override
    public int getHelpResource() {
        return R.string.help_url_caption;
    }

    public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
            new BaseSearchIndexProvider(R.xml.captioning_appearance);
}
+5 −0
Original line number Diff line number Diff line
@@ -83,6 +83,11 @@ public class CaptionMoreOptionsFragment extends SettingsPreferenceFragment
        return true;
    }

    @Override
    public int getHelpResource() {
        return R.string.help_url_caption;
    }

    public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
            new BaseSearchIndexProvider(R.xml.captioning_more_options);
}
+5 −0
Original line number Diff line number Diff line
@@ -98,6 +98,11 @@ public class CaptionPropertiesFragment extends SettingsPreferenceFragment
        return true;
    }

    @Override
    public int getHelpResource() {
        return R.string.help_url_caption;
    }

    public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
            new BaseSearchIndexProvider(R.xml.captioning_settings);
}