OSDN Git Service

Add comment of using same callback for start/stop advertising.
authorWei Wang <weiwa@google.com>
Fri, 28 Mar 2014 02:34:46 +0000 (19:34 -0700)
committerWei Wang <weiwa@google.com>
Fri, 28 Mar 2014 02:34:46 +0000 (19:34 -0700)
Change-Id: Ice268e83e4f2ceb5053a0e03f73b877f548bd13b

core/java/android/bluetooth/BluetoothAdapter.java

index 75b007c..229bcbf 100644 (file)
@@ -570,7 +570,7 @@ public final class BluetoothAdapter {
     }
 
     /**
-     * Stop BLE advertising.
+     * Stop BLE advertising. The callback has to be the same one used for start advertising.
      *
      * @param callback - {@link AdvertiseCallback}
      * @return true if BLE advertising stops, false otherwise.