Update conversation-related strings
Test: atest Bug: 157215227 Change-Id: Iba279bb285e53918a1e1b43c04d6ec7576cd48a0
This commit is contained in:
@@ -23,6 +23,7 @@ import android.service.notification.ConversationChannelWrapper;
|
||||
import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceCategory;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.notification.NotificationBackend;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -49,6 +50,14 @@ public class AllConversationsPreferenceController extends ConversationListPrefer
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
Preference getSummaryPreference() {
|
||||
Preference pref = new Preference(mContext);
|
||||
pref.setOrder(1);
|
||||
pref.setSummary(R.string.other_conversations_summary);
|
||||
return pref;
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean matchesFilter(ConversationChannelWrapper conversation) {
|
||||
return !conversation.getNotificationChannel().isImportantConversation();
|
||||
|
Reference in New Issue
Block a user