For #4143 - Allow user to rotate to other landscape orientation
parent
b70719bd00
commit
9f40c25c75
|
@ -310,7 +310,7 @@ class BrowserFragment : Fragment(), BackHandler {
|
||||||
.setAnchorView(toolbarComponent.uiView.view)
|
.setAnchorView(toolbarComponent.uiView.view)
|
||||||
.setText(getString(R.string.full_screen_notification))
|
.setText(getString(R.string.full_screen_notification))
|
||||||
.show()
|
.show()
|
||||||
activity?.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE
|
activity?.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE
|
||||||
activity?.enterToImmersiveMode()
|
activity?.enterToImmersiveMode()
|
||||||
toolbar.visibility = View.GONE
|
toolbar.visibility = View.GONE
|
||||||
nestedScrollQuickAction.visibility = View.GONE
|
nestedScrollQuickAction.visibility = View.GONE
|
||||||
|
|
Loading…
Reference in New Issue