diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2016-08-11 23:17:53 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-11 23:17:53 +0000 |
commit | ba103686a7c1e0ac6eb20d8af469d59bd13f79e4 (patch) | |
tree | 03abc39b048e7aab252872eb2a7471d8e5fe17fc | |
parent | b0bab0e2bca185ee0ebf1c1eb18a458298a3ae75 (diff) | |
parent | eb58de13ca9962d5a6ab0a3afcaa71b5ef480839 (diff) |
resolve merge conflicts of 3d98b60 to stage-aosp-master am: 97d363e913 am: 84b61fb4b0
am: eb58de13ca
Change-Id: I4d72144cfd66a51fe8e2aaaf93ed4c4981830d3b
-rw-r--r-- | framework/java/android/bluetooth/OobData.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/OobData.java b/framework/java/android/bluetooth/OobData.java index 8e659e04d7..f53ca94a1d 100644 --- a/framework/java/android/bluetooth/OobData.java +++ b/framework/java/android/bluetooth/OobData.java @@ -31,6 +31,8 @@ import android.util.Log; */ public class OobData implements Parcelable { private byte[] securityManagerTk; + private byte[] leSecureConnectionsConfirmation; + private byte[] leSecureConnectionsRandom; public byte[] getSecurityManagerTk() { return securityManagerTk; @@ -45,10 +47,28 @@ public class OobData implements Parcelable { this.securityManagerTk = securityManagerTk; } + public byte[] getLeSecureConnectionsConfirmation() { + return leSecureConnectionsConfirmation; + } + + public void setLeSecureConnectionsConfirmation(byte[] leSecureConnectionsConfirmation) { + this.leSecureConnectionsConfirmation = leSecureConnectionsConfirmation; + } + + public byte[] getLeSecureConnectionsRandom() { + return leSecureConnectionsRandom; + } + + public void setLeSecureConnectionsRandom(byte[] leSecureConnectionsRandom) { + this.leSecureConnectionsRandom = leSecureConnectionsRandom; + } + public OobData() { } private OobData(Parcel in) { securityManagerTk = in.createByteArray(); + leSecureConnectionsConfirmation = in.createByteArray(); + leSecureConnectionsRandom = in.createByteArray(); } public int describeContents() { @@ -58,6 +78,8 @@ public class OobData implements Parcelable { @Override public void writeToParcel(Parcel out, int flags) { out.writeByteArray(securityManagerTk); + out.writeByteArray(leSecureConnectionsConfirmation); + out.writeByteArray(leSecureConnectionsRandom); } public static final Parcelable.Creator<OobData> CREATOR |