Mark non actionable preferences as non-selectable

Test: navigate the conversations page with switch access enabled
Fixes: 178765656
Change-Id: If5d5dd301e2d95b4aa7512f58a6e1adf01f3dbf0
This commit is contained in:
Julia Reynolds
2021-04-07 14:35:39 -04:00
parent 75020d834a
commit 14cdcfdee9
2 changed files with 2 additions and 0 deletions

View File

@@ -34,6 +34,7 @@
settings:allowDividerBelow="true" >
<Preference
android:key="behavior"
android:selectable="false"
android:summary="@string/important_conversation_behavior_summary"/>
<!-- Important conversations added here -->
<PreferenceCategory

View File

@@ -55,6 +55,7 @@ public class AllConversationsPreferenceController extends ConversationListPrefer
Preference pref = new Preference(mContext);
pref.setOrder(1);
pref.setSummary(R.string.other_conversations_summary);
pref.setSelectable(false);
return pref;
}