Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: content/browser/gamepad/gamepad_platform_data_fetcher_android.cc

Issue 1276703003: Handle UI operations through gamepad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698