adding controls to exit pip or switch to background audio

This commit is contained in:
dhk2 2020-07-03 15:04:57 -07:00
parent 05595b7b4e
commit a11a62ede4
1 changed files with 2 additions and 2 deletions

View File

@ -406,14 +406,14 @@ public class VideoPlayActivity extends AppCompatActivity {
registerReceiver(receiver, filter);
Log.v(TAG,"switched to pip ");
floatMode=true;
// videoPlayerFragment.useController(false);
} else {
videoPlayerFragment.showControls(true);
if (receiver != null) {
unregisterReceiver(receiver);
}
Log.v(TAG,"switched to normal");
floatMode=false;
// videoPlayerFragment.useController(true);
}
}