summaryrefslogtreecommitdiffstats
path: root/services/jni
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-08-18 17:48:53 -0700
committerJeff Brown <jeffbrown@google.com>2010-08-18 17:48:53 -0700
commit3d8c9bdbed0c31143227697bd0d94fd234fe08ad (patch)
tree1c81b1435f758f6dbbbca210a4a14b1995714d36 /services/jni
parent99401b29c3f39488a058d3eb616009b751879a77 (diff)
downloadframeworks_base-3d8c9bdbed0c31143227697bd0d94fd234fe08ad.zip
frameworks_base-3d8c9bdbed0c31143227697bd0d94fd234fe08ad.tar.gz
frameworks_base-3d8c9bdbed0c31143227697bd0d94fd234fe08ad.tar.bz2
Raise motion event throttle to 60Hz from 35Hz.
Bug: 2931575 Change-Id: Ib8b1793addcda74b2fa6de2ce61b6133b8ffda9d
Diffstat (limited to 'services/jni')
-rw-r--r--services/jni/com_android_server_InputManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/jni/com_android_server_InputManager.cpp b/services/jni/com_android_server_InputManager.cpp
index 59528db..3addc0d 100644
--- a/services/jni/com_android_server_InputManager.cpp
+++ b/services/jni/com_android_server_InputManager.cpp
@@ -934,7 +934,7 @@ int32_t NativeInputManager::getMaxEventsPerSecond() {
jint result = env->CallIntMethod(mCallbacksObj,
gCallbacksClassInfo.getMaxEventsPerSecond);
if (checkAndClearExceptionFromCallback(env, "getMaxEventsPerSecond")) {
- result = 35;
+ result = 60;
}
mMaxEventsPerSecond = result;