From 4aa3184e4133270477778e4c794c7ba85408e154 Mon Sep 17 00:00:00 2001 From: tzugen Date: Mon, 17 Apr 2023 18:01:12 +0200 Subject: [PATCH] Formatting --- .../kotlin/org/moire/ultrasonic/fragment/PlayerFragment.kt | 2 +- .../org/moire/ultrasonic/service/MediaPlayerController.kt | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/PlayerFragment.kt b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/PlayerFragment.kt index 51375954..8797d48f 100644 --- a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/PlayerFragment.kt +++ b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/fragment/PlayerFragment.kt @@ -1134,7 +1134,7 @@ class PlayerFragment : Player.STATE_BUFFERING, Player.STATE_READY -> { progressBar.secondaryProgress = progress } - else -> { } + else -> { } } } diff --git a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/service/MediaPlayerController.kt b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/service/MediaPlayerController.kt index fe80a2d6..c421a122 100644 --- a/ultrasonic/src/main/kotlin/org/moire/ultrasonic/service/MediaPlayerController.kt +++ b/ultrasonic/src/main/kotlin/org/moire/ultrasonic/service/MediaPlayerController.kt @@ -460,7 +460,6 @@ class MediaPlayerController( return isShufflePlayEnabled } - /** * Returns an estimate of the percentage in the current content up to which data is * buffered, or 0 if no estimate is available. @@ -761,7 +760,6 @@ class MediaPlayerController( return getShuffledIndexOf(currentMediaItemIndex) } - /** * Loops over the timeline windows to find the entry which matches the given closure. * @@ -785,7 +783,6 @@ class MediaPlayerController( return C.INDEX_UNSET } - /** * Returns the index of the shuffled position of the current playback item given its original * position in the unshuffled timeline.