author | Tellen Yu <tellen.yu@amlogic.com> | 2016-08-30 10:55:43 (GMT) |
---|---|---|
committer | Tellen Yu <tellen.yu@amlogic.com> | 2016-09-05 10:33:28 (GMT) |
commit | f95211795aede0f87fb8610ca55b075f77255382 (patch) | |
tree | e4a222d023d96564b9b4ba40b29f4ed004f3e122 | |
parent | 9def86b0e88b8cf283ba618a023dc8ca50249ca4 (diff) | |
download | RemoteIME-f95211795aede0f87fb8610ca55b075f77255382.zip RemoteIME-f95211795aede0f87fb8610ca55b075f77255382.tar.gz RemoteIME-f95211795aede0f87fb8610ca55b075f77255382.tar.bz2 |
modify for Nougat bringup
Change-Id: Idbce9046228e70c0e3f05a4f70f9418ad24a0ea8
-rw-r--r-- | jni/android/com_droidlogic_inputmethod_remote_PinyinDecoderService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jni/android/com_droidlogic_inputmethod_remote_PinyinDecoderService.cpp b/jni/android/com_droidlogic_inputmethod_remote_PinyinDecoderService.cpp index c8b9415..ec71725 100644 --- a/jni/android/com_droidlogic_inputmethod_remote_PinyinDecoderService.cpp +++ b/jni/android/com_droidlogic_inputmethod_remote_PinyinDecoderService.cpp @@ -193,7 +193,7 @@ extern "C" { JNIEXPORT jint JNICALL nativeImGetPredictsNum ( JNIEnv *env, jclass clazz, jstring fixed_str ) { - char16 *fixed_ptr = ( char16 * ) ( *env ).GetStringChars ( fixed_str, false ); + char16 *fixed_ptr = ( char16 * ) ( *env ).GetStringChars ( fixed_str, NULL ); size_t fixed_len = ( size_t ) ( *env ).GetStringLength ( fixed_str ); char16 fixed_buf[kMaxPredictSize + 1]; if ( fixed_len > kMaxPredictSize ) { |