Loading services/java/com/android/server/InputManager.java +1 −4 Original line number Diff line number Diff line Loading @@ -48,9 +48,6 @@ import java.util.ArrayList; /* * Wraps the C++ InputManager and provides its callbacks. * * XXX Tempted to promote this to a first-class service, ie. InputManagerService, to * improve separation of concerns with respect to the window manager. */ public class InputManager { static final String TAG = "InputManager"; Loading Loading @@ -517,7 +514,7 @@ public class InputManager { } catch (NumberFormatException e) { } if (result < 1) { result = 35; result = 60; } return result; } Loading services/jni/com_android_server_InputManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
services/java/com/android/server/InputManager.java +1 −4 Original line number Diff line number Diff line Loading @@ -48,9 +48,6 @@ import java.util.ArrayList; /* * Wraps the C++ InputManager and provides its callbacks. * * XXX Tempted to promote this to a first-class service, ie. InputManagerService, to * improve separation of concerns with respect to the window manager. */ public class InputManager { static final String TAG = "InputManager"; Loading Loading @@ -517,7 +514,7 @@ public class InputManager { } catch (NumberFormatException e) { } if (result < 1) { result = 35; result = 60; } return result; } Loading
services/jni/com_android_server_InputManager.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -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; Loading