android-slideshow
android-slideshow copied to clipboard
Do not show List Activity when entering picture in picture mode
When entering picture in picture mode, the previous list activity is shown.
It would be good if the application closed the List Activity instead, while keeping it available in the back stack.
Related SO question: https://stackoverflow.com/questions/45187961/task-list-and-back-stack-with-android-o-picture-in-picture-mode
Looks like there will be a lot of manual handling to get this to work. I suspect it would be easier to create new activities when using the back button and completely ignore (clear) the back stack.
Tried:
-
launchMode = singleX
in manifest. Weird behaviour on slideshow activity -
startActivityForResult
closing activity when using PIP mode. Doesn't always call correctly - Manually handling back stack. Fine but doesn't fix the problems with slideshow activity behaviour
Weird slideshow activity behaviour. Start slideshow. Enter PIP. minimise app. Expend PIP to full screen. Click back (to enter list view). Minimise activity. Open PIP activity. Expected: To be in list view. Actual: Slideshow begins automatically
This issue bugs me way more than it should