am 78011ba9: am de35f0d9: Merge "setCallbackType should be public for onlost/onfound apis" into mnc-dev

* commit '78011ba9db257e7ae0bc06d49104c6f4bebc799e':
  setCallbackType should be public for onlost/onfound apis
This commit is contained in:
Wei Wang
2015-05-19 23:03:11 +00:00
committed by Android Git Automerger
2 changed files with 1 additions and 2 deletions

View 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);

View 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)) {