Fixed possible crash on startup.

This commit is contained in:
Felix Ableitner 2014-04-21 18:34:06 +02:00
parent 0ea2493f1d
commit 10101ed224

View file

@ -582,8 +582,10 @@ OnSeekBarChangeListener, OnScrollListener {
* When in playlist mode, scrolls to the item that is currently playing.
*/
public void scrollToCurrent() {
if (mMediaRouterPlayService != null) {
mListView.smoothScrollToPosition(
mMediaRouterPlayService.getService().getCurrentTrack());
}
}
}