[automerger] [RTT] ParcelableRttResults parcel code fix am: e1e5a2409c am: 5f4d9350f4 am: 8d2d052b61 am: af9f48b7e8

Change-Id: I5a6d8519fc77c96d2df7afc58c1d45af57250e8b
This commit is contained in:
Android Build Merger (Role)
2018-02-02 18:16:12 +00:00

View File

@@ -766,8 +766,8 @@ public class RttManager {
} }
dest.writeByte(result.LCR.id); dest.writeByte(result.LCR.id);
if (result.LCR.id != (byte) 0xFF) { if (result.LCR.id != (byte) 0xFF) {
dest.writeInt((byte) result.LCR.data.length); dest.writeByte((byte) result.LCR.data.length);
dest.writeByte(result.LCR.id); dest.writeByteArray(result.LCR.data);
} }
dest.writeByte(result.secure ? (byte) 1 : 0); dest.writeByte(result.secure ? (byte) 1 : 0);
} }