From 8db0090a12cd8d994cc87d919f1329eb4fdbbc68 Mon Sep 17 00:00:00 2001 From: "jyong2.kim" Date: Thu, 24 Mar 2016 19:35:01 +0900 Subject: [PATCH] [IOT-1039]Fixed for jira issue. It is fix for a RH android sample application. When the call terminate RH android sample, It expected to return success but return error. terminate API is try to terminate a thread, but it was already terminated at other api. Change-Id: I52b79252f1d952917729f7716d381303b57501a6 Signed-off-by: jyong2.kim Reviewed-on: https://gerrit.iotivity.org/gerrit/6287 Tested-by: jenkins-iotivity Reviewed-by: Hun-je Yeon Reviewed-by: Madan Lanka Reviewed-by: Uze Choi --- .../android/resource_hosting/jni/ResourceHosing_JNI.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/service/resource-hosting/android/resource_hosting/jni/ResourceHosing_JNI.cpp b/service/resource-hosting/android/resource_hosting/jni/ResourceHosing_JNI.cpp index faca8ce..222ed44 100644 --- a/service/resource-hosting/android/resource_hosting/jni/ResourceHosing_JNI.cpp +++ b/service/resource-hosting/android/resource_hosting/jni/ResourceHosing_JNI.cpp @@ -118,10 +118,6 @@ JNIEXPORT jint JNICALL Java_org_iotivity_ResourceHosting_ResourceHosting_Resourc threadRun = false; ocProcessThread.join(); } - else - { - return (jint)HOSTING_THREAD_ERROR; - } return (jint)OCSTACK_OK; } -- 2.7.4