Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de35f0d9 authored by Wei Wang's avatar Wei Wang Committed by Android (Google) Code Review
Browse files

Merge "setCallbackType should be public for onlost/onfound apis" into mnc-dev

parents 891230b5 f5e368ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
+0 −2
Original line number Diff line number Diff line
@@ -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)) {