Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e682f81 authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

[RONs] use distinctUntilChanged for AOD state

Bug: 418073317
Test: Presubmit
Flag: android.app.ui_rich_ongoing
Change-Id: I8af7953b582fbf9c100688c855093acecff0c037
parent 958e4b4e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -324,7 +324,10 @@ constructor(

    val isAodPromotedNotifVisible: StateFlow<AnimatedValue<Boolean>> =
        combine(
                keyguardTransitionInteractor.transitionValue(AOD).map { it == 1f },
                keyguardTransitionInteractor
                    .transitionValue(AOD)
                    .map { it == 1f }
                    .distinctUntilChanged(),
                areNotifsFullyHiddenAnimated(),
                isPulseExpandingAnimated(),
                aodPromotedNotificationInteractor.isPresent,