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

Commit c71ddd98 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[RONs] use distinctUntilChanged for AOD state" into main

parents 67e473f6 8e682f81
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,