Has anyone got any experience or advice on managing back stack and tasks in PiP mode for android O?
Entering PiP mode seems to detach the activity from the current task stack. And exiting doesn't restore it.
Chrome seems to handle the back stack correctly when using PiP in that you enter pip mode, can navigate around other apps, restore pip to full screen and press back to end up back in the web page. You also don't see Chrome in the task list whilst it's in PiP mode. Is there something I'm missing or is Chrome doing something special or possibly only using a single activity for a Tab and full screen video?
Basically I want restore the entire app and it's back stack at the point we entered PiP when coming back from PiP.