diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ChannelEditorDialogController.kt b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ChannelEditorDialogController.kt index 9bba7effd8247..1cc1dcf3c90bc 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ChannelEditorDialogController.kt +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ChannelEditorDialogController.kt @@ -280,7 +280,8 @@ class ChannelEditorDialogController @Inject constructor( @VisibleForTesting fun launchSettings(sender: View) { - onSettingsClickListener?.onClick(sender, null, appUid!!) + val channel = if (providedChannels.size == 1) providedChannels[0] else null + onSettingsClickListener?.onClick(sender, channel, appUid!!) } private fun initDialog() {