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

Commit 0259f84c authored by jasonwshsu's avatar jasonwshsu
Browse files

Align help resource usage in caption preferences.

* Add string to get the help page intent

Bug: 149887377
Test: manual test
Change-Id: I15b9c4edd260153aa929d68845faed0af16a4ffa
parent 4d59bce2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -7143,6 +7143,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);
}