diff --git a/api/current.txt b/api/current.txt index 6fc76067f7607..80c4dc85a53d3 100644 --- a/api/current.txt +++ b/api/current.txt @@ -7160,6 +7160,7 @@ package android.bluetooth.le { public static final class ScanSettings.Builder { ctor public ScanSettings.Builder(); method public android.bluetooth.le.ScanSettings build(); + method public android.bluetooth.le.ScanSettings.Builder setCallbackType(int); method public android.bluetooth.le.ScanSettings.Builder setMatchMode(int); method public android.bluetooth.le.ScanSettings.Builder setNumOfMatches(int); method public android.bluetooth.le.ScanSettings.Builder setReportDelay(long); diff --git a/core/java/android/bluetooth/le/ScanSettings.java b/core/java/android/bluetooth/le/ScanSettings.java index 4eeb577a1deae..d61662469b6c3 100644 --- a/core/java/android/bluetooth/le/ScanSettings.java +++ b/core/java/android/bluetooth/le/ScanSettings.java @@ -249,9 +249,7 @@ public final class ScanSettings implements Parcelable { * * @param callbackType The callback type flags for the scan. * @throws IllegalArgumentException If the {@code callbackType} is invalid. - * @hide */ - @SystemApi public Builder setCallbackType(int callbackType) { if (!isValidCallbackType(callbackType)) {