Fix the subData argument values: They are in the unit of elements, NOT in the
unit of bytes. Verified that Launcher2 is reflected correctly now.

Change-Id: I85921743e6f0f74650c99a2e80b26028a685e9e4
diff --git a/slang_rs_reflection.cpp b/slang_rs_reflection.cpp
index 1c3b8e9..3847123 100644
--- a/slang_rs_reflection.cpp
+++ b/slang_rs_reflection.cpp
@@ -740,7 +740,8 @@
     C.startBlock();
 
     C.indent() << "copyToArray(i, index);" << endl;
-    C.indent() << "mAllocation.subData1D(index * "RS_TYPE_ITEM_CLASS_NAME".sizeof, "RS_TYPE_ITEM_CLASS_NAME".sizeof, "RS_TYPE_ITEM_BUFFER_PACKER_NAME".getData());" << endl;
+    //C.indent() << "mAllocation.subData1D(index * "RS_TYPE_ITEM_CLASS_NAME".sizeof, "RS_TYPE_ITEM_CLASS_NAME".sizeof, "RS_TYPE_ITEM_BUFFER_PACKER_NAME".getData());" << endl;
+    C.indent() << "mAllocation.subData1D(index, 1, "RS_TYPE_ITEM_BUFFER_PACKER_NAME".getData());" << endl;
 
     C.endBlock();   /* end if (copyNow) */