Fixed blank player screen when clicked notification when Show Now Playing preference was true
This commit is contained in:
parent
238987d533
commit
92635af1e0
1 changed files with 2 additions and 0 deletions
|
@ -181,6 +181,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
}
|
||||
|
||||
open fun onPanelCollapsed() {
|
||||
setMiniPlayerAlphaProgress(0F)
|
||||
// restore values
|
||||
super.setLightStatusbarAuto(surfaceColor())
|
||||
super.setLightNavigationAuto()
|
||||
|
@ -188,6 +189,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
}
|
||||
|
||||
open fun onPanelExpanded() {
|
||||
setMiniPlayerAlphaProgress(1F)
|
||||
onPaletteColorChanged()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue