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

Commit a9f65dc1 authored by Michael Mikhail's avatar Michael Mikhail
Browse files

Fix unflagged new architecture code.

Flag: ACONFIG com.android.systemui.media_controls_refactor DEVELOPMENT
Bug: 328207006
Test: manual, checked UI.
Change-Id: I84bacaa8ff9b9ceb7e3755a854ab22a4e85cc28a
parent ad7d1d18
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -359,8 +359,10 @@ constructor(
        )
        keyguardUpdateMonitor.registerCallback(keyguardUpdateMonitorCallback)
        mediaCarousel.repeatWhenAttached {
            if (mediaFlags.isMediaControlsRefactorEnabled()) {
                mediaCarouselViewModel.onAttached()
                mediaCarouselScrollHandler.scrollToStart()
            }
            repeatOnLifecycle(Lifecycle.State.STARTED) {
                listenForAnyStateToGoneKeyguardTransition(this)
                listenForAnyStateToLockscreenTransition(this)