adding controls to exit pip or switch to background audio

This commit is contained in:
dhk2 2020-07-03 15:38:41 -07:00
parent 7c0f45c602
commit f6cfe248f4

View File

@ -399,7 +399,6 @@ public class VideoPlayActivity extends AppCompatActivity {
setPictureInPictureParams(params);
}
@RequiresApi(api = Build.VERSION_CODES.O)
public void changedToPipMode() {
FragmentManager fragmentManager = getSupportFragmentManager();
VideoPlayerFragment videoPlayerFragment = (VideoPlayerFragment) fragmentManager.findFragmentById(R.id.video_player_fragment);