adding controls to exit pip or switch to background audio
This commit is contained in:
parent
05595b7b4e
commit
a11a62ede4
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user