From 25591c6ae7749c26d52fe2a329dbd10b638ba280 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 12 Aug 2013 21:27:54 -0700 Subject: Fix compile error --- src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/github/daneren2005') diff --git a/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java b/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java index 1ccf3c72..8707ecb5 100644 --- a/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java +++ b/src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java @@ -41,14 +41,14 @@ public class RemoteControlClientICS extends RemoteControlClientHelper { if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { mRemoteControl.setOnGetPlaybackPositionListener(new RemoteControlClient.OnGetPlaybackPositionListener() { @Override - long onGetPlaybackPosition() { + public long onGetPlaybackPosition() { return downloadService.getPlayerPosition(); } }); mRemoteControl.setPlaybackPositionUpdateListener(new RemoteControlClient.OnPlaybackPositionUpdateListener() { @Override - void onPlaybackPositionUpdate(long newPosition) { - downloadService.seekTo(newPosition); + public void onPlaybackPositionUpdate(long newPosition) { + downloadService.seekTo((int) newPosition); } }); } -- cgit v1.2.3