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

Commit 828c28a2 authored by Nate Myren's avatar Nate Myren Committed by Automerger Merge Worker
Browse files

Merge "Check for forceVisible when updating from a new status event" into...

Merge "Check for forceVisible when updating from a new status event" into sc-dev am: ce6e7088 am: b2ad0203 am: 029e3f54

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15605596

Change-Id: I6484878574c5cc474c9ed4a9c5e8ef664574c988
parents 67405fba 029e3f54
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -114,6 +114,10 @@ class SystemStatusAnimationScheduler @Inject constructor(
                Log.d(TAG, "updating current event from: $event")
            }
            scheduledEvent?.updateFromEvent(event)
            if (event.forceVisible) {
                hasPersistentDot = true
                notifyTransitionToPersistentDot()
            }
        } else {
            if (DEBUG) {
                Log.d(TAG, "ignoring event $event")
@@ -154,6 +158,7 @@ class SystemStatusAnimationScheduler @Inject constructor(
        // If animations are turned off, we'll transition directly to the dot
        if (!event.showAnimation && event.forceVisible) {
            notifyTransitionToPersistentDot()
            scheduledEvent = null
            return
        }