Merge "Fix stray AOD animation" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b01c33a788
@@ -660,15 +660,11 @@ class MediaHierarchyManager @Inject constructor(
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (statusbarState == StatusBarState.KEYGUARD) {
|
if (statusbarState == StatusBarState.KEYGUARD && (currentLocation == LOCATION_LOCKSCREEN ||
|
||||||
if (currentLocation == LOCATION_LOCKSCREEN &&
|
previousLocation == LOCATION_LOCKSCREEN)) {
|
||||||
previousLocation == LOCATION_QS ||
|
// We're always fading from lockscreen to keyguard in situations where the player
|
||||||
(currentLocation == LOCATION_QS &&
|
// is already fully hidden
|
||||||
previousLocation == LOCATION_LOCKSCREEN)) {
|
return false
|
||||||
// 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
|
return mediaFrame.isShownNotFaded || animator.isRunning || animationPending
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user