title: android Picture in Picture mode
body: <p>I have an app with 2 activities, the first one is a list of movies and the second one is detail activity and has a player that can play in PictureInPicture Mode.
  the problem is if the user kills the app from recent items PictureinPicture window will live on and because the app was streaming and now the connection is lost, PictureinPicture will enter a zombie mode and won't work properly.
  what can I do to solve this problem?
  in the youtube app, when the activity is in PictureInPicture mode the app is not shown in recent items, I'm not sure how to achieve this solution.</p>