Quality selector for external playback and better fullscreen mode for old devices
This commit is contained in:
parent
91a0257c8f
commit
7c79d421e8
2 changed files with 30 additions and 15 deletions
|
|
@ -1463,7 +1463,9 @@ public class VideoPlayerImpl extends VideoPlayer
|
|||
|
||||
private void showSystemUIPartially() {
|
||||
if (isFullscreen() && getParentActivity() != null) {
|
||||
final int visibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE;
|
||||
final int visibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION;
|
||||
getParentActivity().getWindow().getDecorView().setSystemUiVisibility(visibility);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue