diff options
Diffstat (limited to 'src/de/podfetcher/activity/MediaplayerActivity.java')
-rw-r--r-- | src/de/podfetcher/activity/MediaplayerActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/podfetcher/activity/MediaplayerActivity.java b/src/de/podfetcher/activity/MediaplayerActivity.java index 162615d97..55cc2b1e7 100644 --- a/src/de/podfetcher/activity/MediaplayerActivity.java +++ b/src/de/podfetcher/activity/MediaplayerActivity.java @@ -117,7 +117,7 @@ public class MediaplayerActivity extends SherlockActivity { protected void onProgressUpdate(Long... values) { super.onProgressUpdate(values); txtvPosition.setText( - Integer.toString(playbackService.getPlayer().getCurrentPosition())); + Converter.getDurationStringLong(playbackService.getPlayer().getCurrentPosition())); } }; @@ -136,8 +136,8 @@ public class MediaplayerActivity extends SherlockActivity { imgvCover.setImageBitmap( media.getItem().getFeed().getImage().getImageBitmap()); - txtvPosition.setText(Integer.toString(player.getCurrentPosition())); - txtvLength.setText(Integer.toString(player.getDuration())); + txtvPosition.setText(Converter.getDurationStringLong((player.getCurrentPosition()))); + txtvLength.setText(Converter.getDurationStringLong(player.getDuration())); } } |