OSDN Git Service

setCallbackType should be public for onlost/onfound apis
authorPrerepa Viswanadham <dham@google.com>
Tue, 19 May 2015 21:55:09 +0000 (14:55 -0700)
committerPrerepa Viswanadham <dham@google.com>
Tue, 19 May 2015 22:04:56 +0000 (22:04 +0000)
Bug: 21304922
Change-Id: I27ed4f3e00ac13354e3ef75e5686916be0d10918

api/current.txt
core/java/android/bluetooth/le/ScanSettings.java

index 6fc7606..80c4dc8 100644 (file)
@@ -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);
index 4eeb577..d616624 100644 (file)
@@ -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)) {