aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/util/compat/RemoteControlClientICS.java6
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);
}
});
}