Loading packages/SystemUI/src/com/android/systemui/media/MediaHierarchyManager.kt +5 −9 Original line number Diff line number Diff line Loading @@ -660,16 +660,12 @@ class MediaHierarchyManager @Inject constructor( return true } if (statusbarState == StatusBarState.KEYGUARD) { if (currentLocation == LOCATION_LOCKSCREEN && previousLocation == LOCATION_QS || (currentLocation == LOCATION_QS && if (statusbarState == StatusBarState.KEYGUARD && (currentLocation == LOCATION_LOCKSCREEN || previousLocation == LOCATION_LOCKSCREEN)) { // We're always fading from lockscreen to keyguard in situations where the player // is already fully hidden return false } } return mediaFrame.isShownNotFaded || animator.isRunning || animationPending } Loading Loading
packages/SystemUI/src/com/android/systemui/media/MediaHierarchyManager.kt +5 −9 Original line number Diff line number Diff line Loading @@ -660,16 +660,12 @@ class MediaHierarchyManager @Inject constructor( return true } if (statusbarState == StatusBarState.KEYGUARD) { if (currentLocation == LOCATION_LOCKSCREEN && previousLocation == LOCATION_QS || (currentLocation == LOCATION_QS && if (statusbarState == StatusBarState.KEYGUARD && (currentLocation == LOCATION_LOCKSCREEN || previousLocation == LOCATION_LOCKSCREEN)) { // We're always fading from lockscreen to keyguard in situations where the player // is already fully hidden return false } } return mediaFrame.isShownNotFaded || animator.isRunning || animationPending } Loading