diff options
| author | 2021-04-15 20:55:01 +0000 | |
|---|---|---|
| committer | 2021-04-15 20:55:01 +0000 | |
| commit | bb6ea3457c2091fffcbf695112793bb4d7ed366e (patch) | |
| tree | 0a49a2ba9066b159a90dcf35498f2790bda594aa | |
| parent | f3fcd261ee64b3f353f2fed9667198890c76a9ee (diff) | |
| parent | 3a4f3191450f2a5e57b5cf7a85070dc0a694bcba (diff) | |
Merge "OOB generateLocalOobData" am: 3a4f319145
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677745
Change-Id: I8317187de5b6a2d5d9ae4deb01509dd2e0fd4fef
| -rw-r--r-- | core/api/system-current.txt | 2 | ||||
| -rw-r--r-- | core/java/android/bluetooth/BluetoothAdapter.java | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt index 7e5a62110161..4244244e14a1 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -1502,6 +1502,8 @@ package android.bluetooth { } public static interface BluetoothAdapter.OobDataCallback { + method public void onError(int); + method public void onOobData(int, @Nullable android.bluetooth.OobData); } public final class BluetoothDevice implements android.os.Parcelable { diff --git a/core/java/android/bluetooth/BluetoothAdapter.java b/core/java/android/bluetooth/BluetoothAdapter.java index 7d62327738df..3802289dd6d6 100644 --- a/core/java/android/bluetooth/BluetoothAdapter.java +++ b/core/java/android/bluetooth/BluetoothAdapter.java @@ -3062,8 +3062,6 @@ public final class BluetoothAdapter { * * @param transport - whether the {@link OobData} is generated for LE or Classic. * @param oobData - data generated in the host stack(LE) or controller (Classic) - * - * @hide */ void onOobData(@Transport int transport, @Nullable OobData oobData); @@ -3071,8 +3069,6 @@ public final class BluetoothAdapter { * Provides feedback when things don't go as expected. * * @param errorCode - the code descibing the type of error that occurred. - * - * @hide */ void onError(@OobError int errorCode); } |