Loading packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/MediaControlPanel.java +6 −0 Original line number Diff line number Diff line Loading @@ -435,6 +435,12 @@ public class MediaControlPanel { } this.mIsSeekBarEnabled = isSeekBarEnabled; updateSeekBarVisibility(); mMainExecutor.execute(() -> { if (!mMetadataAnimationHandler.isRunning()) { // Trigger a state refresh so that we immediately update visibilities. mMediaViewController.refreshState(); } }); } /** Loading packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/MediaViewController.kt +11 −1 Original line number Diff line number Diff line Loading @@ -225,6 +225,12 @@ constructor( if (isSeekBarEnabled == enabled) return isSeekBarEnabled = enabled MediaControlViewBinder.updateSeekBarVisibility(expandedLayout, isSeekBarEnabled) mainExecutor.execute { if (!metadataAnimationHandler.isRunning) { // Trigger a state refresh so that we immediately update visibilities. refreshState() } } } } Loading Loading @@ -899,7 +905,11 @@ constructor( // If the view isn't bound, we can drop the animation, otherwise we'll execute it animateNextStateChange = false if (transitionLayout == null) { logger.logMediaLocation("setCurrentState: view not bound", startLocation, endLocation) logger.logMediaLocation( "setCurrentState: view not bound", startLocation, endLocation, ) return } Loading Loading
packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/MediaControlPanel.java +6 −0 Original line number Diff line number Diff line Loading @@ -435,6 +435,12 @@ public class MediaControlPanel { } this.mIsSeekBarEnabled = isSeekBarEnabled; updateSeekBarVisibility(); mMainExecutor.execute(() -> { if (!mMetadataAnimationHandler.isRunning()) { // Trigger a state refresh so that we immediately update visibilities. mMediaViewController.refreshState(); } }); } /** Loading
packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/MediaViewController.kt +11 −1 Original line number Diff line number Diff line Loading @@ -225,6 +225,12 @@ constructor( if (isSeekBarEnabled == enabled) return isSeekBarEnabled = enabled MediaControlViewBinder.updateSeekBarVisibility(expandedLayout, isSeekBarEnabled) mainExecutor.execute { if (!metadataAnimationHandler.isRunning) { // Trigger a state refresh so that we immediately update visibilities. refreshState() } } } } Loading Loading @@ -899,7 +905,11 @@ constructor( // If the view isn't bound, we can drop the animation, otherwise we'll execute it animateNextStateChange = false if (transitionLayout == null) { logger.logMediaLocation("setCurrentState: view not bound", startLocation, endLocation) logger.logMediaLocation( "setCurrentState: view not bound", startLocation, endLocation, ) return } Loading