Fixed [IOT-1414]
authorSandeep Sharma <sandeep.s9@samsung.com>
Fri, 7 Oct 2016 12:52:55 +0000 (18:22 +0530)
committerRandeep Singh <randeep.s@samsung.com>
Mon, 10 Oct 2016 08:41:14 +0000 (08:41 +0000)
commitdc57a68c8a4eceb0efdf6786d48ce42f76305d8e
tree5f7bff003a251c5dfbbdf4a5ec61178c0d53ad7b
parente10d8a7fd6c65854c40d3b95b60ee3e8af469a72
Fixed [IOT-1414]

Propagate INVALID_CALLBACK  instead of INVALID_PARAM when Listener is null

Change-Id: Id41c9be5dc33e9220c4809351b8269738eb95f56
Signed-off-by: Sandeep Sharma <sandeep.s9@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12949
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
android/android_api/base/jni/JniOcCloudProvisioning.cpp
android/android_api/base/jni/JniOcSecureResource.cpp