fixed the ca android sample crash issue
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Fri, 19 Feb 2016 08:45:01 +0000 (17:45 +0900)
committerJon A. Cruz <jonc@osg.samsung.com>
Tue, 23 Feb 2016 23:53:01 +0000 (23:53 +0000)
after nfc transport was submitted, the crash happens
in the ca android sample. so I modified the array size to
resolve the crash issue.

Change-Id: I515cbdba1de880e4d3ffee89e15f951db4a0ea87
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/5077
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/csdk/connectivity/samples/android/casample/sampleService/src/main/java/org/iotivity/ca/service/MainActivity.java

index 2fd619768eb445172d8cdaabb867a53b66d62931..d7dd72696b39164bf7c9af46fb71ae17f6b7e5ef 100755 (executable)
@@ -68,7 +68,7 @@ public class MainActivity extends Activity {
     }
 
     private boolean mCheckedItems[] = {
-            false, false, false, false
+            false, false, false, false, false
     };
 
     private int mSelectedItems[] = { 0, 0, 0, 0, 0, 0};