Changed RouteFragment to scroll to current item on clicking play button.

This commit is contained in:
Felix Ableitner 2014-01-03 15:43:08 +01:00
parent b98df87408
commit 3b7bc513ad

View file

@ -385,8 +385,10 @@ public class RouteFragment extends MediaRouteDiscoveryFragment implements
case R.id.playpause:
if (mPlaying)
s.pause();
else
else {
s.resume();
mListView.smoothScrollToPosition(s.getCurrentTrack());
}
break;
case R.id.shuffle:
s.toggleShuffleEnabled();