mirror of https://git.suyu.dev/suyu/suyu
android: Update orientation on emulation fragment start
This commit is contained in:
parent
82ea082997
commit
2b838b6d06
|
@ -100,6 +100,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
||||||
*/
|
*/
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
updateOrientation()
|
||||||
|
|
||||||
val intentUri: Uri? = requireActivity().intent.data
|
val intentUri: Uri? = requireActivity().intent.data
|
||||||
var intentGame: Game? = null
|
var intentGame: Game? = null
|
||||||
|
|
Loading…
Reference in New Issue