Skip to content
Snippets Groups Projects
Commit 5cf82623 authored by Michael Mikhail's avatar Michael Mikhail Committed by Android (Google) Code Review
Browse files

Merge "Fix unflagged new architecture code." into main

parents b6b0c62c a9f65dc1
No related branches found
No related tags found
No related merge requests found
......@@ -360,8 +360,10 @@ constructor(
)
keyguardUpdateMonitor.registerCallback(keyguardUpdateMonitorCallback)
mediaCarousel.repeatWhenAttached {
mediaCarouselViewModel.onAttached()
mediaCarouselScrollHandler.scrollToStart()
if (mediaFlags.isMediaControlsRefactorEnabled()) {
mediaCarouselViewModel.onAttached()
mediaCarouselScrollHandler.scrollToStart()
}
repeatOnLifecycle(Lifecycle.State.STARTED) {
listenForAnyStateToGoneKeyguardTransition(this)
listenForAnyStateToLockscreenTransition(this)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment