Loading packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/notification/ui/viewmodel/NotifChipsViewModelTest.kt +6 −4 Original line number Diff line number Diff line Loading @@ -468,11 +468,12 @@ class NotifChipsViewModelTest : SysuiTestCase() { PromotedNotificationContentBuilder("notif").applyToShared { this.time = When.Time(currentTime) } val icon = createStatusBarIconViewOrNull() setNotifs( listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = oldPromotedContentBuilder.build(), ) ) Loading @@ -493,7 +494,7 @@ class NotifChipsViewModelTest : SysuiTestCase() { listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = newPromotedContentBuilder.build(), ) ) Loading @@ -513,11 +514,12 @@ class NotifChipsViewModelTest : SysuiTestCase() { PromotedNotificationContentBuilder("notif").applyToShared { this.subText = "Old subtext" } val icon = createStatusBarIconViewOrNull() setNotifs( listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = oldPromotedContentBuilder.build(), ) ) Loading @@ -536,7 +538,7 @@ class NotifChipsViewModelTest : SysuiTestCase() { listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = newPromotedContentBuilder.build(), ) ) Loading Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/chips/notification/ui/viewmodel/NotifChipsViewModelTest.kt +6 −4 Original line number Diff line number Diff line Loading @@ -468,11 +468,12 @@ class NotifChipsViewModelTest : SysuiTestCase() { PromotedNotificationContentBuilder("notif").applyToShared { this.time = When.Time(currentTime) } val icon = createStatusBarIconViewOrNull() setNotifs( listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = oldPromotedContentBuilder.build(), ) ) Loading @@ -493,7 +494,7 @@ class NotifChipsViewModelTest : SysuiTestCase() { listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = newPromotedContentBuilder.build(), ) ) Loading @@ -513,11 +514,12 @@ class NotifChipsViewModelTest : SysuiTestCase() { PromotedNotificationContentBuilder("notif").applyToShared { this.subText = "Old subtext" } val icon = createStatusBarIconViewOrNull() setNotifs( listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = oldPromotedContentBuilder.build(), ) ) Loading @@ -536,7 +538,7 @@ class NotifChipsViewModelTest : SysuiTestCase() { listOf( activeNotificationModel( key = "notif", statusBarChipIcon = createStatusBarIconViewOrNull(), statusBarChipIcon = icon, promotedContent = newPromotedContentBuilder.build(), ) ) Loading