summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorPrerepa Viswanadham <dham@google.com>2014-10-15 16:36:01 -0700
committerPrerepa Viswanadham <dham@google.com>2014-10-16 16:06:44 +0000
commit248edc3e969217aec1fcce7f324cbae6c46da0a3 (patch)
treec70e0ea315fafe5f0b991b03769b1d5f7597849a /core/java
parentb7d8514822aefbf8274f5464dc12cee151e2b78b (diff)
downloadframeworks_base-248edc3e969217aec1fcce7f324cbae6c46da0a3.zip
frameworks_base-248edc3e969217aec1fcce7f324cbae6c46da0a3.tar.gz
frameworks_base-248edc3e969217aec1fcce7f324cbae6c46da0a3.tar.bz2
Update javadoc comments for getBluetoothLeAdvertiser()
To clarify that BluetoothLeAdvertiser object will return null when BT is off OR if the hw doesn't support these capabilities bug: 18006072 Change-Id: I635d7971711a3cae7c58f7a0636faf9a03f19970
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/bluetooth/BluetoothAdapter.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/bluetooth/BluetoothAdapter.java b/core/java/android/bluetooth/BluetoothAdapter.java
index f0b609a..5564af7 100644
--- a/core/java/android/bluetooth/BluetoothAdapter.java
+++ b/core/java/android/bluetooth/BluetoothAdapter.java
@@ -454,8 +454,9 @@ public final class BluetoothAdapter {
}
/**
- * Returns a {@link BluetoothLeAdvertiser} object for Bluetooth LE Advertising operations, or
- * null if Bluetooth LE Advertising is not support on this device.
+ * Returns a {@link BluetoothLeAdvertiser} object for Bluetooth LE Advertising operations.
+ * Will return null if Bluetooth is turned off or if Bluetooth LE Advertising is not
+ * supported on this device.
* <p>
* Use {@link #isMultipleAdvertisementSupported()} to check whether LE Advertising is supported
* on this device before calling this method.