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_text_StaticLayout.cpp b/core/jni/android_text_StaticLayout.cpp index fceb980..fe5115b 100644 --- a/core/jni/android_text_StaticLayout.cpp +++ b/core/jni/android_text_StaticLayout.cpp
@@ -97,7 +97,7 @@ return ret; } -static JNINativeMethod gMethods[] = { +static const JNINativeMethod gMethods[] = { {"nLineBreakOpportunities", "(Ljava/lang/String;[CI[I)[I", (void*) nLineBreakOpportunities} };