[IOT-1040] Fixed for jira issue about RH android.
authorjyong2.kim <jyong2.kim@samsung.com>
Thu, 24 Mar 2016 23:02:57 +0000 (08:02 +0900)
committerUze Choi <uzchoi@samsung.com>
Mon, 11 Apr 2016 11:07:55 +0000 (11:07 +0000)
commitcde2323e7ffa79656c7296db3cd6320dc2016dfd
tree12cb8fe1b39dfff49c5f80ad8925dbc7140d2ddf
parentf3b3b46cfc7ab430320433d27048dace37902a06
[IOT-1040] Fixed for jira issue about RH android.

prevented crash when init is called with null String at address.

Change-Id: I390fdd036e6afae44af36d935564b2fa5045d990
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6307
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 9cbaf9309f0f671b899641a3ed2286621b5b6ed5)
Reviewed-on: https://gerrit.iotivity.org/gerrit/7687
service/resource-hosting/android/resource_hosting/jni/ResourceHosing_JNI.cpp