Skip to content

Commit

Permalink
Fix upstream crash due to ClassCastException
Browse files Browse the repository at this point in the history
Signed-off-by: Patryk Miś <foss@patrykmis.com>
  • Loading branch information
PatrykMis committed Mar 12, 2024
1 parent f7ea5a8 commit fa7e27f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions talkback/src/main/res/xml/focus_indicator_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,24 @@
android:title="@string/title_pref_thick_border"
android:persistent="true" />

<PreferenceCategory
<com.google.android.accessibility.utils.preference.AccessibilitySuitePreferenceCategory
android:key="@string/pref_border_color_category_key"
android:title="@string/title_pref_category_border_color">
<!-- For open-source, replace "CheckBoxPreference" with "com.android.settingslib.widget.RadioButtonPreference". -->
<CheckBoxPreference
<com.google.android.accessibility.utils.preference.AccessibilitySuiteRadioButtonPreference
android:title="@string/title_pref_default_color" />
<CheckBoxPreference
<com.google.android.accessibility.utils.preference.AccessibilitySuiteRadioButtonPreference
android:title="@string/title_pref_red" />
<CheckBoxPreference
<com.google.android.accessibility.utils.preference.AccessibilitySuiteRadioButtonPreference
android:title="@string/title_pref_orange" />
<CheckBoxPreference
<com.google.android.accessibility.utils.preference.AccessibilitySuiteRadioButtonPreference
android:title="@string/title_pref_yellow" />
<CheckBoxPreference
<com.google.android.accessibility.utils.preference.AccessibilitySuiteRadioButtonPreference
android:title="@string/title_pref_green" />
<CheckBoxPreference
<com.google.android.accessibility.utils.preference.AccessibilitySuiteRadioButtonPreference
android:title="@string/title_pref_blue" />
<CheckBoxPreference
<com.google.android.accessibility.utils.preference.AccessibilitySuiteRadioButtonPreference
android:title="@string/title_pref_grey" />
</PreferenceCategory>
</com.google.android.accessibility.utils.preference.AccessibilitySuitePreferenceCategory>


</PreferenceScreen>

0 comments on commit fa7e27f

Please sign in to comment.