Fixed notification not showing after resuming playback.

This commit is contained in:
Felix Ableitner 2013-12-13 17:28:16 +01:00
parent 6eab372680
commit 956a16c5cc
2 changed files with 3 additions and 1 deletions

View file

@ -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;

View file

@ -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));
}
/**