Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSectionsManager.kt +0 −6 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ class NotificationSectionsManager @Inject internal constructor( private lateinit var parent: NotificationStackScrollLayout private var initialized = false private var onClearSilentNotifsClickListener: View.OnClickListener? = null @VisibleForTesting val silentHeaderView: SectionHeaderView? Loading Loading @@ -441,11 +440,6 @@ class NotificationSectionsManager @Inject internal constructor( } } /** Listener for when the "clear all" button is clicked on the gentle notification header. */ fun setOnClearSilentNotifsClickListener(listener: View.OnClickListener) { onClearSilentNotifsClickListener = listener } fun setHeaderForegroundColor(@ColorInt color: Int) { peopleHeaderView?.setForegroundColor(color) silentHeaderView?.setForegroundColor(color) Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +0 −6 Original line number Diff line number Diff line Loading @@ -518,12 +518,6 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable mSectionsManager = notificationSectionsManager; mSectionsManager.initialize(this, LayoutInflater.from(context)); mSectionsManager.setOnClearSilentNotifsClickListener(v -> { // Leave the shade open if there will be other notifs left over to clear final boolean closeShade = !mController.hasActiveClearableNotifications(ROWS_HIGH_PRIORITY); clearNotifications(ROWS_GENTLE, closeShade); }); mSections = mSectionsManager.createSectionsForBuckets(); mAmbientState = new AmbientState(context, mSectionsManager); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSectionsManager.kt +0 −6 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ class NotificationSectionsManager @Inject internal constructor( private lateinit var parent: NotificationStackScrollLayout private var initialized = false private var onClearSilentNotifsClickListener: View.OnClickListener? = null @VisibleForTesting val silentHeaderView: SectionHeaderView? Loading Loading @@ -441,11 +440,6 @@ class NotificationSectionsManager @Inject internal constructor( } } /** Listener for when the "clear all" button is clicked on the gentle notification header. */ fun setOnClearSilentNotifsClickListener(listener: View.OnClickListener) { onClearSilentNotifsClickListener = listener } fun setHeaderForegroundColor(@ColorInt color: Int) { peopleHeaderView?.setForegroundColor(color) silentHeaderView?.setForegroundColor(color) Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationStackScrollLayout.java +0 −6 Original line number Diff line number Diff line Loading @@ -518,12 +518,6 @@ public class NotificationStackScrollLayout extends ViewGroup implements Dumpable mSectionsManager = notificationSectionsManager; mSectionsManager.initialize(this, LayoutInflater.from(context)); mSectionsManager.setOnClearSilentNotifsClickListener(v -> { // Leave the shade open if there will be other notifs left over to clear final boolean closeShade = !mController.hasActiveClearableNotifications(ROWS_HIGH_PRIORITY); clearNotifications(ROWS_GENTLE, closeShade); }); mSections = mSectionsManager.createSectionsForBuckets(); mAmbientState = new AmbientState(context, mSectionsManager); Loading