diff options
author | Elliott Hughes <enh@google.com> | 2010-04-16 17:44:12 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-04-16 17:44:12 -0700 |
commit | c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8 (patch) | |
tree | cc325048a7dc4cb15eb2f39244c3b881b284644d /icu/src/main/native/ICU.cpp | |
parent | 757a7942eed2b0aa457f8517a0259d2ac82c5b18 (diff) | |
download | libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.zip libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.gz libcore-c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8.tar.bz2 |
Move the libcore registration out of libnativehelpers and into libcore.
Bug: 754114
Change-Id: Iaa03def509c10cbaa12fd2128584b93d4be4a6b7
Diffstat (limited to 'icu/src/main/native/ICU.cpp')
-rw-r--r-- | icu/src/main/native/ICU.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/icu/src/main/native/ICU.cpp b/icu/src/main/native/ICU.cpp index 3066edb..1517932 100644 --- a/icu/src/main/native/ICU.cpp +++ b/icu/src/main/native/ICU.cpp @@ -15,8 +15,8 @@ */ #define LOG_TAG "ICU" + #include "JNIHelp.h" -#include "AndroidSystemNatives.h" #include "ScopedUtfChars.h" #include "UniquePtr.h" #include "cutils/log.h" @@ -679,7 +679,6 @@ static jboolean initLocaleDataImpl(JNIEnv* env, jclass, jstring locale, jobject } static JNINativeMethod gMethods[] = { - /* name, signature, funcPtr */ {"getAvailableBreakIteratorLocalesNative", "()[Ljava/lang/String;", (void*) getAvailableBreakIteratorLocalesNative}, {"getAvailableCalendarLocalesNative", "()[Ljava/lang/String;", (void*) getAvailableCalendarLocalesNative}, {"getAvailableCollatorLocalesNative", "()[Ljava/lang/String;", (void*) getAvailableCollatorLocalesNative}, @@ -700,7 +699,6 @@ static JNINativeMethod gMethods[] = { {"getTimeZonesNative", "([[Ljava/lang/String;Ljava/lang/String;)V", (void*) getTimeZonesNative}, {"initLocaleDataImpl", "(Ljava/lang/String;Lcom/ibm/icu4jni/util/LocaleData;)Z", (void*) initLocaleDataImpl}, }; - int register_com_ibm_icu4jni_util_Resources(JNIEnv* env) { jclass stringclass = env->FindClass("java/lang/String"); if (stringclass == NULL) { |