Skip to content

AudioPlayer: current mode indicator isn't set correctly by default

Description

If the audio playback is stopped when the view is showing the cover, on restart the state will indicate otherwise.

Expected behavior

The top right "cover/list mode" indicator should be correctly synched.

Actual behavior

The two modes aren't synched if the playback and app stopped on the cover mode.

Steps to reproduce

  1. Launch audio playback
  2. Set cover view mode
  3. Stop playback
  4. Kill app
  5. Start app
  6. Start audio playback

Screenshot / video

exam

Context

App version

master

Android version

Android 11

Device model

Huawei P40 Lite

App mode

Smartphone