From f3f52b1b4cd92a7bef4dbf8235f3e67006407543 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Thu, 27 Mar 2014 19:34:46 -0700 Subject: [PATCH] Add comment of using same callback for start/stop advertising. Change-Id: Ice268e83e4f2ceb5053a0e03f73b877f548bd13b --- core/java/android/bluetooth/BluetoothAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/bluetooth/BluetoothAdapter.java b/core/java/android/bluetooth/BluetoothAdapter.java index 75b007c75ce38..229bcbffec39e 100644 --- a/core/java/android/bluetooth/BluetoothAdapter.java +++ b/core/java/android/bluetooth/BluetoothAdapter.java @@ -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.