From: Tim Kourt Date: Thu, 22 Oct 2015 23:26:16 +0000 (-0700) Subject: Android: Removed CAInitialize() call from the CA initializer. X-Git-Tag: 1.2.0+RC1~832 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05ddec65a18a2ba1fc264bc8d97af1d194b8fa69;p=platform%2Fupstream%2Fiotivity.git Android: Removed CAInitialize() call from the CA initializer. The early initialization call has prevented a proper propagation of the configuration parameters into CA from ocstack.c. Therefore, IPv6 mode was not available on Android. Change-Id: Id90a1eb288ef80f08068113da2967e9ba0989483 Signed-off-by: Tim Kourt Reviewed-on: https://gerrit.iotivity.org/gerrit/3941 Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- diff --git a/android/android_api/base/jni/JniCaInterface.c b/android/android_api/base/jni/JniCaInterface.c index eb1e07a..0972278 100644 --- a/android/android_api/base/jni/JniCaInterface.c +++ b/android/android_api/base/jni/JniCaInterface.c @@ -50,11 +50,4 @@ Java_org_iotivity_ca_CaInterface_initialize LOGI("CaInterface_initialize"); CANativeJNISetContext(env, context); - - CAResult_t res = CAInitialize(); - - if (CA_STATUS_OK != res) - { - LOGE("Could not Initialize"); - } } \ No newline at end of file