adding controls to exit pip or switch to background audio
This commit is contained in:
parent
7c0f45c602
commit
f6cfe248f4
@ -399,7 +399,6 @@ public class VideoPlayActivity extends AppCompatActivity {
|
|||||||
setPictureInPictureParams(params);
|
setPictureInPictureParams(params);
|
||||||
|
|
||||||
}
|
}
|
||||||
@RequiresApi(api = Build.VERSION_CODES.O)
|
|
||||||
public void changedToPipMode() {
|
public void changedToPipMode() {
|
||||||
FragmentManager fragmentManager = getSupportFragmentManager();
|
FragmentManager fragmentManager = getSupportFragmentManager();
|
||||||
VideoPlayerFragment videoPlayerFragment = (VideoPlayerFragment) fragmentManager.findFragmentById(R.id.video_player_fragment);
|
VideoPlayerFragment videoPlayerFragment = (VideoPlayerFragment) fragmentManager.findFragmentById(R.id.video_player_fragment);
|
||||||
|
Loading…
Reference in New Issue
Block a user