Notification settings updates
- Text changes - Show channels on the app settings screen (again) - Hide most of the channel settings under 'advanced' (note: this hides the footer preference(s) also, at the moment. the functionality to exclude those is coming in a later cl) - Add a 'show notifications' toggle for each app created group Bug: 63927402 Test: make RunSettingsRoboTests Change-Id: I9906ef943d05e1915061b59294a25d81c4e6cbb5
This commit is contained in:
@@ -19,7 +19,6 @@ package com.android.settings.notification;
|
||||
import android.app.NotificationChannel;
|
||||
import android.content.Context;
|
||||
import android.support.v7.preference.Preference;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.internal.logging.nano.MetricsProto.MetricsEvent;
|
||||
@@ -98,9 +97,7 @@ public class ChannelGroupNotificationSettings extends NotificationSettingsBase {
|
||||
Collections.sort(channels, mChannelComparator);
|
||||
for (NotificationChannel channel : channels) {
|
||||
mDynamicPreferences.add(populateSingleChannelPrefs(
|
||||
getPreferenceScreen(), channel,
|
||||
ImportancePreferenceController.getImportanceSummary(
|
||||
getPrefContext(), channel)));
|
||||
getPreferenceScreen(), channel, mChannelGroup.isBlocked()));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user