diff options
| -rw-r--r-- | api/current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/bluetooth/le/ScanSettings.java | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt index 6fc76067f760..80c4dc85a53d 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 4eeb577a1dea..d61662469b6c 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)) { |