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/core/jni/android_util_StringBlock.cpp b/core/jni/android_util_StringBlock.cpp index f83eaec..b396afe 100644 --- a/core/jni/android_util_StringBlock.cpp +++ b/core/jni/android_util_StringBlock.cpp
@@ -155,7 +155,7 @@ /* * JNI registration. */ -static JNINativeMethod gStringBlockMethods[] = { +static const JNINativeMethod gStringBlockMethods[] = { /* name, signature, funcPtr */ { "nativeCreate", "([BII)J", (void*) android_content_StringBlock_nativeCreate },