[IOT-1039]Fixed for jira issue.
authorjyong2.kim <jyong2.kim@samsung.com>
Thu, 24 Mar 2016 10:35:01 +0000 (19:35 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 11 Apr 2016 11:08:10 +0000 (11:08 +0000)
commitc5cf2081b4b6e46c34d2051363b9d5b9d7215939
tree4b94a6af4e7ef3edb06f52eae0b2ec81f7822d2e
parentcde2323e7ffa79656c7296db3cd6320dc2016dfd
[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 <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6287
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit 8db0090a12cd8d994cc87d919f1329eb4fdbbc68)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7691
service/resource-hosting/android/resource_hosting/jni/ResourceHosing_JNI.cpp