diff options
author | ByteHamster <info@bytehamster.com> | 2020-02-02 17:56:57 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-02-02 18:42:10 +0100 |
commit | 719af170a704e3172d45e4ae952228761b092285 (patch) | |
tree | 31fedbefdd5ba60a343e5dbf1061f8f03013c766 /core/src/play/java | |
parent | b656cb91a2a9b6aa6395b648195e4eb49e07f8da (diff) | |
download | AntennaPod-719af170a704e3172d45e4ae952228761b092285.zip |
Enforce SeparatorWrap
Diffstat (limited to 'core/src/play/java')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java b/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java index bf9ef3f5b..5014a1fc5 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java +++ b/core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java @@ -1243,14 +1243,11 @@ public class CastManager extends BaseCastManager implements OnFailedListener { throw new NoConnectionException(); } Log.d(TAG, "remoteMediaPlayer.seek() to position " + position); - remoteMediaPlayer.seek(mApiClient, - position, - RESUME_STATE_UNCHANGED). - setResultCallback(result -> { - if (!result.getStatus().isSuccess()) { - onFailed(R.string.cast_failed_seek, result.getStatus().getStatusCode()); - } - }); + remoteMediaPlayer.seek(mApiClient, position, RESUME_STATE_UNCHANGED).setResultCallback(result -> { + if (!result.getStatus().isSuccess()) { + onFailed(R.string.cast_failed_seek, result.getStatus().getStatusCode()); + } + }); } /** |