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

Commit 8e3ea9d1 authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

Merge "Talkback shouldn't speak action for description."

parents fa240f6c 097472fc
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ public abstract class ToggleFeaturePreferenceFragment extends SettingsPreference
        if (mStaticDescription != null) {
            final StaticTextPreference staticTextPreference = new StaticTextPreference(
                    preferenceScreen.getContext());
            staticTextPreference.setSelectable(/* selectable= */ false);
            staticTextPreference.setSummary(mStaticDescription);
            preferenceScreen.addPreference(staticTextPreference);
        }
@@ -130,6 +131,7 @@ public abstract class ToggleFeaturePreferenceFragment extends SettingsPreference

            final HtmlTextPreference htmlTextPreference = new HtmlTextPreference(
                    preferenceScreen.getContext());
            htmlTextPreference.setSelectable(/* selectable= */ false);
            htmlTextPreference.setSummary(mHtmlDescription);
            htmlTextPreference.setImageGetter(mImageGetter);
            htmlTextPreference.setUnsupportedTagList(unsupportedTagList);