commit | 76f6a86de25e1bf74717e047e55fd44b089673f3 | [log] [tgz] |
---|---|---|
author | Daniel Micay <danielmicay@gmail.com> | Sat Sep 19 17:31:01 2015 -0400 |
committer | Daniel Micay <danielmicay@gmail.com> | Tue Sep 22 17:10:35 2015 -0400 |
tree | c07e5cd58bcdd692593d6b7cd3edd40344ee4973 | |
parent | 24ff6823c411f794aceaae89b0b029fbf8ef6b29 [diff] [blame] |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
diff --git a/services/core/jni/com_android_server_input_InputManagerService.cpp b/services/core/jni/com_android_server_input_InputManagerService.cpp index 7c5980a..0bb8403 100644 --- a/services/core/jni/com_android_server_input_InputManagerService.cpp +++ b/services/core/jni/com_android_server_input_InputManagerService.cpp
@@ -1343,7 +1343,7 @@ // ---------------------------------------------------------------------------- -static JNINativeMethod gInputManagerMethods[] = { +static const JNINativeMethod gInputManagerMethods[] = { /* name, signature, funcPtr */ { "nativeInit", "(Lcom/android/server/input/InputManagerService;Landroid/content/Context;Landroid/os/MessageQueue;)J",