Add filtering to notification channel settings
Allow apps that are launching this page to specify targeted subsets of settings that should be shown. Test: settings notification robotests Bug: 177246841 Change-Id: Ib491c43f1861a9775e3b25f39134cdbe105a7ff8
This commit is contained in:
@@ -32,7 +32,6 @@ import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
|
||||
import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceCategory;
|
||||
import androidx.preference.PreferenceViewHolder;
|
||||
|
||||
import com.android.settings.R;
|
||||
@@ -67,8 +66,10 @@ public class AppBubbleListPreferenceController extends AppConversationListPrefer
|
||||
@Nullable NotificationChannel channel, @Nullable NotificationChannelGroup group,
|
||||
Drawable conversationDrawable,
|
||||
ShortcutInfo conversationInfo,
|
||||
RestrictedLockUtils.EnforcedAdmin admin) {
|
||||
super.onResume(appRow, channel, group, conversationDrawable, conversationInfo, admin);
|
||||
RestrictedLockUtils.EnforcedAdmin admin,
|
||||
List<String> preferenceFilter) {
|
||||
super.onResume(appRow, channel, group, conversationDrawable, conversationInfo, admin,
|
||||
preferenceFilter);
|
||||
// In case something changed in the foreground (e.g. via bubble button on notification)
|
||||
loadConversationsAndPopulate();
|
||||
}
|
||||
|
Reference in New Issue
Block a user