Fix Android SetPropertyValue function call
authorHabib Virji <habib.virji@samsung.com>
Thu, 1 Dec 2016 12:01:43 +0000 (12:01 +0000)
committerRick Bell <richard.s.bell@intel.com>
Tue, 6 Dec 2016 00:27:23 +0000 (00:27 +0000)
commitc025e374e63620345f8c9e7639693636574f8f84
tree5f697fdc35eb6083341177cc62e646576a02da21
parent5d462f71b259d423d8fd252873b1aad80abf564d
Fix Android SetPropertyValue function call

setPropertyValue call in the Android was swapped, compared to function call how it  was in the JNI layer.
setPropertyValue0 is for passing string array and setPropertyValue1 is passing string.

Change-Id: I91c480f162cc53712a68bef078371559fd2eff21
Signed-off-by: Habib Virji <habib.virji@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/15025
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
(cherry picked from commit c54aaa1f7de9227236cb8f023df99209c6dddb64)
Reviewed-on: https://gerrit.iotivity.org/gerrit/15067
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
android/android_api/base/src/main/java/org/iotivity/base/OcPlatform.java