clear bottom bar if queue is empty

This commit is contained in:
Adrian Ulrich 2016-03-28 13:51:28 +02:00
parent 12516353f3
commit 7271b14c34

View File

@ -926,6 +926,9 @@ public class LibraryActivity
protected void onStateChange(int state, int toggled)
{
super.onStateChange(state, toggled);
if ((state & PlaybackService.FLAG_EMPTY_QUEUE) != 0)
mBottomBarControls.setSong(null);
}
@Override