[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>
Fri, 25 Mar 2016 02:05:00 +0000 (02:05 +0000)
commit8db0090a12cd8d994cc87d919f1329eb4fdbbc68
tree927a2b0e16ead51ca521ceeb2a98a94db8a02493
parentec2b5f2446b8332078fdbb0ac0193d17b317a653
[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>
service/resource-hosting/android/resource_hosting/jni/ResourceHosing_JNI.cpp