[Sound Panel] Fix bugs for sound panel slice
1. notify item change when slice live data has update 2. keep showing Output Switcher slice when media state is in "Pause" state Bug: 247043239 Bug: 238715094 Bug: 204165377 Test: verified on device Change-Id: Ic56a70f2f2835231519e2fccf0d2e649d41b106e
This commit is contained in:
committed by
Shaowei Shen
parent
062b18c736
commit
66098febbc
@@ -64,7 +64,9 @@ public class MediaOutputUtils {
|
||||
+ ", play back type : " + pi.getPlaybackType() + ", play back state : "
|
||||
+ playbackState.getState());
|
||||
}
|
||||
if (playbackState.getState() != PlaybackState.STATE_PLAYING) {
|
||||
if (playbackState.getState() == PlaybackState.STATE_STOPPED
|
||||
|| playbackState.getState() == PlaybackState.STATE_NONE
|
||||
|| playbackState.getState() == PlaybackState.STATE_ERROR) {
|
||||
// do nothing
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user