playback: fix non-functioning repeat all mode
Fix an issue where the "repeat all" mode would not actually start playing when the queue looped.
This commit is contained in:
parent
d2f74fd138
commit
c655f7d39e
3 changed files with 4 additions and 4 deletions
|
@ -7,8 +7,10 @@
|
|||
|
||||
#### What's Improved
|
||||
- Auxio will now accept zeroed track/disc numbers in the presence of non-zero total
|
||||
track/disc fields.
|
||||
track/disc fields
|
||||
|
||||
#### What's Fixed
|
||||
- Fixed non-functioning "repeat all" repeat mode
|
||||
|
||||
## 3.0.2
|
||||
|
||||
|
|
|
@ -48,8 +48,6 @@ import org.oxycblt.auxio.util.systemBarInsetsCompat
|
|||
*
|
||||
* TODO: Unit testing
|
||||
*
|
||||
* TODO: Migrate to value classes FOR ALL ENUMS
|
||||
*
|
||||
* @author Alexander Capehart (OxygenCobalt)
|
||||
*/
|
||||
class MainActivity : AppCompatActivity() {
|
||||
|
|
|
@ -186,7 +186,7 @@ class PlaybackStateManager private constructor() {
|
|||
var play = true
|
||||
if (!queue.goto(queue.index + 1)) {
|
||||
queue.goto(0)
|
||||
play = false
|
||||
play = repeatMode == RepeatMode.ALL
|
||||
}
|
||||
notifyIndexMoved()
|
||||
internalPlayer.loadSong(queue.currentSong, play)
|
||||
|
|
Loading…
Reference in a new issue