Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSectionsManager.kt +10 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ class NotificationSectionsManager @Inject internal constructor( peopleHubSubscription = null peopleHeaderView = reinflateView(peopleHeaderView, layoutInflater, R.layout.people_strip) .apply { setOnHeaderClickListener(View.OnClickListener { onGentleHeaderClick() }) setOnHeaderClickListener(View.OnClickListener { onPeopleHeaderClick() }) } if (ENABLE_SNOOZED_CONVERSATION_HUB) { peopleHubSubscription = peopleHubViewAdapter.bindView(peopleHubViewBoundary) Loading Loading @@ -522,6 +522,15 @@ class NotificationSectionsManager @Inject internal constructor( Intent.FLAG_ACTIVITY_SINGLE_TOP) } private fun onPeopleHeaderClick() { val intent = Intent(Settings.ACTION_CONVERSATION_SETTINGS) activityStarter.startActivity( intent, true, true, Intent.FLAG_ACTIVITY_SINGLE_TOP) } private fun onClearGentleNotifsClick(v: View) { onClearSilentNotifsClickListener?.onClick(v) } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSectionsManager.kt +10 −1 Original line number Diff line number Diff line Loading @@ -167,7 +167,7 @@ class NotificationSectionsManager @Inject internal constructor( peopleHubSubscription = null peopleHeaderView = reinflateView(peopleHeaderView, layoutInflater, R.layout.people_strip) .apply { setOnHeaderClickListener(View.OnClickListener { onGentleHeaderClick() }) setOnHeaderClickListener(View.OnClickListener { onPeopleHeaderClick() }) } if (ENABLE_SNOOZED_CONVERSATION_HUB) { peopleHubSubscription = peopleHubViewAdapter.bindView(peopleHubViewBoundary) Loading Loading @@ -522,6 +522,15 @@ class NotificationSectionsManager @Inject internal constructor( Intent.FLAG_ACTIVITY_SINGLE_TOP) } private fun onPeopleHeaderClick() { val intent = Intent(Settings.ACTION_CONVERSATION_SETTINGS) activityStarter.startActivity( intent, true, true, Intent.FLAG_ACTIVITY_SINGLE_TOP) } private fun onClearGentleNotifsClick(v: View) { onClearSilentNotifsClickListener?.onClick(v) } Loading