From 734b5bca88a59b0f969f1bf88b7c0b4f9356eb47 Mon Sep 17 00:00:00 2001 From: Nikos Kastellanos Date: Sat, 11 May 2024 07:02:42 +0300 Subject: [PATCH] remove additional RequestFocus() call --- MonoGame.Framework/Platform/Android/AndroidGameWindow.cs | 2 -- MonoGame.Framework/Platform/Cardboard/AndroidGameWindow.cs | 2 -- 2 files changed, 4 deletions(-) diff --git a/MonoGame.Framework/Platform/Android/AndroidGameWindow.cs b/MonoGame.Framework/Platform/Android/AndroidGameWindow.cs index 8326afcca8c..546b66e5e66 100644 --- a/MonoGame.Framework/Platform/Android/AndroidGameWindow.cs +++ b/MonoGame.Framework/Platform/Android/AndroidGameWindow.cs @@ -107,8 +107,6 @@ void _activity_Resumed(object sender, EventArgs e) if (deviceManager != null) { ((IPlatformGraphicsDeviceManager)deviceManager).GetStrategy().InternalForceSetFullScreen(); - - this.GameView.RequestFocus(); } } } diff --git a/MonoGame.Framework/Platform/Cardboard/AndroidGameWindow.cs b/MonoGame.Framework/Platform/Cardboard/AndroidGameWindow.cs index 29029a33561..29ed6a9671b 100644 --- a/MonoGame.Framework/Platform/Cardboard/AndroidGameWindow.cs +++ b/MonoGame.Framework/Platform/Cardboard/AndroidGameWindow.cs @@ -107,8 +107,6 @@ void _activity_Resumed(object sender, EventArgs e) if (deviceManager != null) { ((IPlatformGraphicsDeviceManager)deviceManager).GetStrategy().InternalForceSetFullScreen(); - - this.GameView.RequestFocus(); } } }