now screenshot file from target can be obtained and shown in screenshot view
Change-Id: I1f9e6b712b9872cdd390a5dbf9a018bf2b5cc961
Signed-off-by: woojin <woojin2.jung@samsung.com>
public void makeData(byte[] data) {
super.makeData(data);
- int length = LogDataUtils.getStringLength(index, data);
- byte[] temp = new byte[length];
- System.arraycopy(data, index, temp, 0, length);
- imageFilePath = new String(temp);
- index += length;
+ imageFilePath = ByteUtil.getString(data, index);
+ index += ByteUtil.getStringLength(data, index);
orientation = ByteUtil.toInt(data, index);
}