diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android/Android.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Android/Android.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp index a11241d4f8..48eebbb7f6 100644 --- a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp @@ -455,7 +455,7 @@ void RegisterDevicesChangedCallbackIfNeeded(JNIEnv* env, jclass controller_inter env->GetStaticMethodID(global_controller_interface_class, "onDevicesChanged", "()V"); static Common::EventHook event_hook = g_controller_interface.RegisterDevicesChangedCallback( - "Android", [global_controller_interface_class, controller_interface_on_devices_changed] { + [global_controller_interface_class, controller_interface_on_devices_changed] { IDCache::GetEnvForThread()->CallStaticVoidMethod(global_controller_interface_class, controller_interface_on_devices_changed); }); |
