Skip to content

Commit

Permalink
remove additional RequestFocus() call
Browse files Browse the repository at this point in the history
  • Loading branch information
nkast committed May 11, 2024
1 parent 5804820 commit 734b5bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions MonoGame.Framework/Platform/Android/AndroidGameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ void _activity_Resumed(object sender, EventArgs e)
if (deviceManager != null)
{
((IPlatformGraphicsDeviceManager)deviceManager).GetStrategy<Platform.ConcreteGraphicsDeviceManager>().InternalForceSetFullScreen();

this.GameView.RequestFocus();
}
}
}
Expand Down
2 changes: 0 additions & 2 deletions MonoGame.Framework/Platform/Cardboard/AndroidGameWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ void _activity_Resumed(object sender, EventArgs e)
if (deviceManager != null)
{
((IPlatformGraphicsDeviceManager)deviceManager).GetStrategy<Platform.ConcreteGraphicsDeviceManager>().InternalForceSetFullScreen();

this.GameView.RequestFocus();
}
}
}
Expand Down

0 comments on commit 734b5bc

Please sign in to comment.