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

App crash when turning the phone while playing video #1013

Open
flexagoon opened this issue May 7, 2024 · 3 comments
Open

App crash when turning the phone while playing video #1013

flexagoon opened this issue May 7, 2024 · 3 comments
Labels
android-api:34 P2 random bugs & feature requests rom:graphene-os type:bug Something isn't working video

Comments

@flexagoon
Copy link

Describe the bug
If you play a video and then switch your phone from portrait to landscape (or vice versa) the app kicks you out to the home screen and plays the video in PiP

To Reproduce
Steps to reproduce the behavior:

  1. Play any video
  2. Without pausing the video, turn your phone

Expected behavior
The video should keep playing normally without crashing the app

System information and logs:

Package: deckers.thibault.aves
Installer: com.android.vending
Aves version: 1.11.1-play, build 120
Flutter: stable 3.19.6
Android version: 14, API 34
Android build: 2024050300
Device: Google Pixel 7 Pro
Support: dynamic colors=true, geocoder=false, HDR=true
Mobile services: ready
System locales: en_US, ru_RU
Storage volumes: /storage/emulated/0/
Storage grants: /storage/emulated/0/Movies/, /storage/emulated/0/Pictures/, /storage/emulated/0/DCIM/, /storage/emulated/0/Android/media/
Error reporting: true

aves-logs-20240508_012101.txt

Additional context
It works fine if you pause the video before turning the phone

@flexagoon flexagoon added the type:bug Something isn't working label May 7, 2024
@deckerst
Copy link
Owner

deckerst commented May 9, 2024

The title says "crash", but your report sounds like it just behaves like you pressed home, and the app is still alive because it plays the video in PiP. For example, if you tap on the PiP video I suppose you can go back to the app in full screen exactly as you were, right?

Do you use a custom ROM?

Related:

@deckerst deckerst added P2 random bugs & feature requests video android-api:34 labels May 9, 2024
@deckerst
Copy link
Owner

deckerst commented May 9, 2024

Also, if you disable PiP in Aves, does turning your screen while playing a video work as expected?

@flexagoon
Copy link
Author

Yes, if I click on the PiP, I do return to the app.

I am using GrapheneOS, but the issue happens even with the hardened malloc disabled

When PiP is disabled, the issue does not happen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-api:34 P2 random bugs & feature requests rom:graphene-os type:bug Something isn't working video
Projects
None yet
Development

No branches or pull requests

2 participants