Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback is stopped when swiping away Auxio from recent apps #866

Closed
4 tasks done
TL-P opened this issue Sep 11, 2024 · 6 comments
Closed
4 tasks done

Playback is stopped when swiping away Auxio from recent apps #866

TL-P opened this issue Sep 11, 2024 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@TL-P
Copy link

TL-P commented Sep 11, 2024

Describe the Bug/Crash

  1. Play some music (v3.5.3)
  2. Swipe away Auxio from recent apps
  3. Active music playback and foreground service (Task Manager) are stopped

Describe the intended behavior

Playback should continue (which still worked for me in v3.5.2)

What android version do you use?

Android 13

What device model do you use?

Xiaomi Mi 9T (PixelOS)

Provide a sample file

N/A

Bug report

N/A

Duplicates

@TL-P TL-P added the bug Something isn't working label Sep 11, 2024
@ego-lay-atman-bay
Copy link

ego-lay-atman-bay commented Sep 11, 2024

If this were to be "fixed" I think there should be an option to have this be the behavior (like what vlc does). I personally believe that if I swipe away an audio player, I eould expect the music to stop playing, signifying that the app is actually closed. I don't want to go into the settings just to force stop the app when I don't want it using battery in the background while it is closed.

@OxygenCobalt
Copy link
Owner

Intentional behavior from #257. This is what the android system expects from Auxio and I so it's not really in the bounds of a setting (This is the same reason audio focus is non-configurable)

#844 is probably also going to make some auto-timeout system where Auxio will naturally exit it's foreground state after some level of time, so @ego-lay-atman-bay's concern isn't going to be relevant soon I hope.

@TL-P
Copy link
Author

TL-P commented Sep 12, 2024

Is this really the intended behavior? According to #257 (comment), if music is playing, then playback will not be stopped.

In this system, if the music is still playing, playback will not stop @KraXen72. The notification will only disappear if it's paused.

However, that is exactly what is happening on my device (playback is stopped even if playing).

@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Sep 12, 2024

Can you send a screen recording @TL-P? The code explicitly checks for ongoing playback before it stops the current session, so I frankly have no idea what happens.

@TL-P
Copy link
Author

TL-P commented Sep 12, 2024

screen-20240912-211125.mp4

Recorded without audio, it stops as soon as Auxio is swiped away.

@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Sep 17, 2024

Okay, this was reported again in #869.

I assume that I accidentally set some absurd magic flag that's now giving the horrible OEM ROMs license to kill my app for no discernable reason. You will need to wait until I can generate a bunch of bisect builds to test with @TL-P.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants