Merge "Remove unused strings in Accessibility Menu." into udc-dev

This commit is contained in:
Daniel Norman
2023-03-16 23:58:40 +00:00
committed by Android (Google) Code Review
3 changed files with 1 additions and 9 deletions

View File

@@ -49,7 +49,6 @@
<!-- Short summary of app that appears as subtext on the service preference in Settings -->
<string name="accessibility_menu_summary">Control device via large menu</string>
<!-- TODO(b/113371047): string need to be reviewed -->
<!-- String defining the settings name -->
<string name="accessibility_menu_settings_name">Accessibility Menu Settings</string>
@@ -57,8 +56,6 @@
<string name="accessibility_menu_large_buttons_title">Large buttons</string>
<!-- String defining the summary of Large button setting -->
<string name="accessibility_menu_large_buttons_summary">Increase size of Accessibility Menu Buttons</string>
<!-- String defining the title of the preference to show help and feedback menu [CHAR LIMIT=40] -->
<string name="pref_help_and_feedback_title">Help &#38; feedback</string>
<!-- String defining the title of the preference to show help menu [CHAR LIMIT=40] -->
<string name="pref_help_title">Help</string>
@@ -67,7 +64,4 @@
<!-- The percentage of the music volume, and double "%" is required to represent the symbol "%" -->
<string name="music_volume_percentage_label">Music volume <xliff:g id="percentage">%1$s</xliff:g> %%</string>
<!-- The label of a settings item that displays legal information about the licenses used in this app. [CHAR LIMIT=NONE] -->
<string name="pref_item_licenses">Open Source Licenses</string>
</resources>

View File

@@ -28,6 +28,6 @@
<Preference
android:key="@string/pref_help"
android:title="@string/pref_help_and_feedback_title"/>
android:title="@string/pref_help_title"/>
</androidx.preference.PreferenceScreen>

View File

@@ -71,8 +71,6 @@ public class A11yMenuSettingsActivity extends FragmentActivity {
private void initializeHelpAndFeedbackPreference() {
final Preference prefHelp = findPreference(getString(R.string.pref_help));
if (prefHelp != null) {
prefHelp.setTitle(R.string.pref_help_title);
// Do not allow access to web during setup.
if (Settings.Secure.getInt(
getContext().getContentResolver(),