diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-08-12 21:27:54 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-08-12 21:27:54 -0700 |
commit | 25591c6ae7749c26d52fe2a329dbd10b638ba280 (patch) | |
tree | 3eae74fc784bdfc726a6a64a625d082d196250cf | |
parent | 6c61c29806a6225122c12bf8cbf7663bed15e9f6 (diff) | |
download | dsub-25591c6ae7749c26d52fe2a329dbd10b638ba280.tar.gz dsub-25591c6ae7749c26d52fe2a329dbd10b638ba280.tar.bz2 dsub-25591c6ae7749c26d52fe2a329dbd10b638ba280.zip |
Fix compile error
-rw-r--r-- | src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java | 6 |
1 files changed, 3 insertions, 3 deletions
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); } }); } |