Skip to content

CustomPiP: fix popup killed when leaving the app

Duncan McNamara requested to merge Skantes/vlc-android:custom-pip-fix into master

When leaving the app with custom pip the VideoPlayerActivity onStop() is called which sets isInPiPMode to false which kills the popup. onStop isn't called with the system's pip. To fix this, just check if service.isPlayingPopup is true, it's false for system's pip.

Merge request reports