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() {
|
open fun onPanelCollapsed() {
|
||||||
|
setMiniPlayerAlphaProgress(0F)
|
||||||
// restore values
|
// restore values
|
||||||
super.setLightStatusbarAuto(surfaceColor())
|
super.setLightStatusbarAuto(surfaceColor())
|
||||||
super.setLightNavigationAuto()
|
super.setLightNavigationAuto()
|
||||||
|
@ -188,6 +189,7 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
open fun onPanelExpanded() {
|
open fun onPanelExpanded() {
|
||||||
|
setMiniPlayerAlphaProgress(1F)
|
||||||
onPaletteColorChanged()
|
onPaletteColorChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue