Fixed notification not showing after resuming playback.
This commit is contained in:
parent
6eab372680
commit
956a16c5cc
2 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,6 @@ import android.support.v7.app.ActionBar;
|
|||
import android.support.v7.app.ActionBar.Tab;
|
||||
import android.support.v7.app.ActionBar.TabListener;
|
||||
import android.support.v7.app.ActionBarActivity;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
|
|
|
@ -258,6 +258,9 @@ public class MediaRouterPlayService extends Service {
|
|||
intent.putExtra(MediaControlIntent.EXTRA_SESSION_ID, mSessionId);
|
||||
mMediaRouter.getSelectedRoute().sendControlRequest(intent, null);
|
||||
mPollingStatus = true;
|
||||
new CreateNotificationTask().execute(mPlaylist.get(mCurrentTrack)
|
||||
.getFirstPropertyValue(DIDLObject.Property.UPNP.ALBUM_ART_URI.class));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue