summaryrefslogtreecommitdiff
path: root/core/src/play/java
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2020-02-02 17:56:57 +0100
committerByteHamster <info@bytehamster.com>2020-02-02 18:42:10 +0100
commit719af170a704e3172d45e4ae952228761b092285 (patch)
tree31fedbefdd5ba60a343e5dbf1061f8f03013c766 /core/src/play/java
parentb656cb91a2a9b6aa6395b648195e4eb49e07f8da (diff)
downloadAntennaPod-719af170a704e3172d45e4ae952228761b092285.zip
Enforce SeparatorWrap
Diffstat (limited to 'core/src/play/java')
-rw-r--r--core/src/play/java/de/danoeh/antennapod/core/cast/CastManager.java13
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());
+ }
+ });
}
/**