Merge "Mark non actionable preferences as non-selectable" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-07 19:55:34 +00:00
committed by Android (Google) Code Review
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;
}