Merge changes I31066a6f,I081cea0d into sc-dev
* changes: Fix broken test Updates to conversation page
This commit is contained in:
committed by
Android (Google) Code Review
commit
6d6280c634
@@ -69,9 +69,7 @@ public abstract class ConversationListPreferenceController extends AbstractPrefe
|
||||
populateConversations(conversations, containerGroup);
|
||||
}
|
||||
|
||||
if (containerGroup.getPreferenceCount() == 0) {
|
||||
containerGroup.setVisible(false);
|
||||
} else {
|
||||
if (containerGroup.getPreferenceCount() != 0) {
|
||||
Preference summaryPref = getSummaryPreference();
|
||||
if (summaryPref != null) {
|
||||
containerGroup.addPreference(summaryPref);
|
||||
|
@@ -55,6 +55,7 @@ public class PriorityConversationsPreferenceController extends
|
||||
Preference pref = new Preference(mContext);
|
||||
pref.setOrder(1);
|
||||
pref.setSummary(R.string.important_conversations_summary_bubbles);
|
||||
pref.setSelectable(false);
|
||||
return pref;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user