commit | f3f52b1b4cd92a7bef4dbf8235f3e67006407543 | [log] [tgz] |
---|---|---|
author | Wei Wang <weiwa@google.com> | Thu Mar 27 19:34:46 2014 -0700 |
committer | Wei Wang <weiwa@google.com> | Thu Mar 27 19:34:46 2014 -0700 |
tree | 9c375c3c2d444f03c7ab773a284d79bbef78ea95 | |
parent | 2d8f330fe709d405915ebb1fa2673e575e19112e [diff] |
Add comment of using same callback for start/stop advertising. Change-Id: Ice268e83e4f2ceb5053a0e03f73b877f548bd13b
diff --git a/core/java/android/bluetooth/BluetoothAdapter.java b/core/java/android/bluetooth/BluetoothAdapter.java index 75b007c..229bcbf 100644 --- a/core/java/android/bluetooth/BluetoothAdapter.java +++ b/core/java/android/bluetooth/BluetoothAdapter.java
@@ -570,7 +570,7 @@ } /** - * 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.