Describe the bug
When coming out of PIP, when i press back (or 'gesture' back in my case), i return to the homescreen of my phone instead of to jellyfin.
To Reproduce
Expected behavior
Pressing back should return to jellyfin (specifically the last view) instead of to the android homescreen
System (please complete the following information):
This is unfortunately a "bug" (feature?) in the Android framework. If you enter PiP mode, the system detaches the activity from its stack, resulting in such behaviour. See here for more information: https://stackoverflow.com/questions/45187961/task-list-and-back-stack-with-android-o-picture-in-picture-mode
(I coincidentally googled this issue just yesterday, and found that link in my research.
Could it not be possible to reattach when returning to fullscreen mode?
I fear not, because the intent to re-open the activity is controlled by the system, and I don't know whether the necessary APIs exist for that.
Is it possible to open the jellyfin app to a certain episode? Then you could create a back button that doesn't back but opens the app to that episode
Confirmed as well with 2.0.0 release.
We're aiming to fix that in the next major release. #166 already provides a foundation for that.
Amazing work again. I am going to study the commits in hopes of being able to contribute to the project myself later on
Most helpful comment
Amazing work again. I am going to study the commits in hopes of being able to contribute to the project myself later on