Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/RowAppearanceCoordinator.kt +1 −1 Original line number Diff line number Diff line Loading @@ -76,6 +76,6 @@ class RowAppearanceCoordinator @Inject internal constructor( // Show/hide the feedback icon controller.setFeedbackIcon(mAssistantFeedbackController.getFeedbackIcon(entry)) // Show the "alerted" bell icon controller.setLastAudiblyAlertedMs(entry.lastAudiblyAlertedMs) controller.setLastAudibleMs(entry.lastAudiblyAlertedMs) } } packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/LaunchFullScreenIntentProvider.kt +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ class LaunchFullScreenIntentProvider @Inject constructor() { private val listeners = ListenerSet<Listener>() /** * Registers a listener with this provider. These listeners will be alerted whenever a full * Registers a listener with this provider. These listeners will be updated whenever a full * screen intent should be launched for a notification entry. */ fun registerListener(listener: Listener) { Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/NotifRowController.kt +2 −2 Original line number Diff line number Diff line Loading @@ -29,10 +29,10 @@ interface NotifRowController { fun setSystemExpanded(systemExpanded: Boolean) /** * Sets the timestamp that the notification was last audibly alerted, which the row uses to * Sets the timestamp that the notification was last audible, which the row uses to * show a bell icon in the header which indicates to the user which notification made a noise. */ fun setLastAudiblyAlertedMs(lastAudiblyAlertedMs: Long) fun setLastAudibleMs(lastAudibleMs: Long) /** Shows the given feedback icon, or hides the icon if null. */ fun setFeedbackIcon(icon: FeedbackIcon?) Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRowController.java +2 −2 Original line number Diff line number Diff line Loading @@ -431,8 +431,8 @@ public class ExpandableNotificationRowController implements NotifViewController } @Override public void setLastAudiblyAlertedMs(long lastAudiblyAlertedMs) { mView.setLastAudiblyAlertedMs(lastAudiblyAlertedMs); public void setLastAudibleMs(long lastAudibleMs) { mView.setLastAudiblyAlertedMs(lastAudibleMs); } @Override Loading packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/RowAppearanceCoordinatorTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ class RowAppearanceCoordinatorTest : SysuiTestCase() { @Test fun testSetLastAudiblyAlerted() { afterRenderEntryListener.onAfterRenderEntry(entry1, controller1) verify(controller1).setLastAudiblyAlertedMs(eq(17.toLong())) verify(controller1).setLastAudibleMs(eq(17.toLong())) } @Test Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/RowAppearanceCoordinator.kt +1 −1 Original line number Diff line number Diff line Loading @@ -76,6 +76,6 @@ class RowAppearanceCoordinator @Inject internal constructor( // Show/hide the feedback icon controller.setFeedbackIcon(mAssistantFeedbackController.getFeedbackIcon(entry)) // Show the "alerted" bell icon controller.setLastAudiblyAlertedMs(entry.lastAudiblyAlertedMs) controller.setLastAudibleMs(entry.lastAudiblyAlertedMs) } }
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/LaunchFullScreenIntentProvider.kt +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ class LaunchFullScreenIntentProvider @Inject constructor() { private val listeners = ListenerSet<Listener>() /** * Registers a listener with this provider. These listeners will be alerted whenever a full * Registers a listener with this provider. These listeners will be updated whenever a full * screen intent should be launched for a notification entry. */ fun registerListener(listener: Listener) { Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/NotifRowController.kt +2 −2 Original line number Diff line number Diff line Loading @@ -29,10 +29,10 @@ interface NotifRowController { fun setSystemExpanded(systemExpanded: Boolean) /** * Sets the timestamp that the notification was last audibly alerted, which the row uses to * Sets the timestamp that the notification was last audible, which the row uses to * show a bell icon in the header which indicates to the user which notification made a noise. */ fun setLastAudiblyAlertedMs(lastAudiblyAlertedMs: Long) fun setLastAudibleMs(lastAudibleMs: Long) /** Shows the given feedback icon, or hides the icon if null. */ fun setFeedbackIcon(icon: FeedbackIcon?) Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ExpandableNotificationRowController.java +2 −2 Original line number Diff line number Diff line Loading @@ -431,8 +431,8 @@ public class ExpandableNotificationRowController implements NotifViewController } @Override public void setLastAudiblyAlertedMs(long lastAudiblyAlertedMs) { mView.setLastAudiblyAlertedMs(lastAudiblyAlertedMs); public void setLastAudibleMs(long lastAudibleMs) { mView.setLastAudiblyAlertedMs(lastAudibleMs); } @Override Loading
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/RowAppearanceCoordinatorTest.kt +1 −1 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ class RowAppearanceCoordinatorTest : SysuiTestCase() { @Test fun testSetLastAudiblyAlerted() { afterRenderEntryListener.onAfterRenderEntry(entry1, controller1) verify(controller1).setLastAudiblyAlertedMs(eq(17.toLong())) verify(controller1).setLastAudibleMs(eq(17.toLong())) } @Test Loading