Index: content/browser/gamepad/gamepad_platform_data_fetcher_android.cc |
diff --git a/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc b/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc |
index 8668dbc70e58766c3e1602a4364a2992e59a7467..46df9e53857bc46c80cb22fbb1cb4612732b12d8 100644 |
--- a/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc |
+++ b/content/browser/gamepad/gamepad_platform_data_fetcher_android.cc |
@@ -59,7 +59,7 @@ void GamepadPlatformDataFetcherAndroid::PauseHint(bool paused) { |
if (!env) |
return; |
- Java_GamepadList_notifyForGamepadsAccess(env, paused); |
+ Java_GamepadList_setGamepadAPIActive(env, !paused); |
} |
static void SetGamepadData(JNIEnv* env, |