OOB generateLocalOobData

unhide @SystemApi callback methods

Bug: 178007935
Tag: #feature
Test: compiles
Change-Id: I2d4167a6c92ee0cc24da12df206838161c8f3318
Merged-In: I2d4167a6c92ee0cc24da12df206838161c8f3318
This commit is contained in:
Martin Brabham
2021-04-14 11:45:35 -07:00
committed by David James
parent 6b5e6bba9b
commit 76a512f958
2 changed files with 2 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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);
}