summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrerepa Viswanadham <dham@google.com>2014-07-09 14:23:24 -0700
committerPrerepa Viswanadham <dham@google.com>2014-07-09 21:23:51 +0000
commitb108a6fef183cc856eab4fe03d2840d97f80dcde (patch)
treec92328121768b810a1bdd78b9553a0e3169fbef3
parentc522d1646ac353aec302252fa53976c1fa46ad3d (diff)
downloadframeworks_base-b108a6fef183cc856eab4fe03d2840d97f80dcde.zip
frameworks_base-b108a6fef183cc856eab4fe03d2840d97f80dcde.tar.gz
frameworks_base-b108a6fef183cc856eab4fe03d2840d97f80dcde.tar.bz2
Unhide the Bluetooth(BLE) offload capability apis
Change-Id: Ice3f4f5ff4b8318bf6afe7021b253fe9ea4661d3
-rw-r--r--api/current.txt3
-rw-r--r--core/java/android/bluetooth/BluetoothAdapter.java3
2 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt
index 8fe26c1..95ef7f0 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -5689,6 +5689,9 @@ package android.bluetooth {
method public int getState();
method public boolean isDiscovering();
method public boolean isEnabled();
+ method public boolean isMultipleAdvertisementSupported();
+ method public boolean isOffloadedFilteringSupported();
+ method public boolean isOffloadedScanBatchingSupported();
method public android.bluetooth.BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord(java.lang.String, java.util.UUID) throws java.io.IOException;
method public android.bluetooth.BluetoothServerSocket listenUsingRfcommWithServiceRecord(java.lang.String, java.util.UUID) throws java.io.IOException;
method public boolean setName(java.lang.String);
diff --git a/core/java/android/bluetooth/BluetoothAdapter.java b/core/java/android/bluetooth/BluetoothAdapter.java
index 4bc9cfc..be14504 100644
--- a/core/java/android/bluetooth/BluetoothAdapter.java
+++ b/core/java/android/bluetooth/BluetoothAdapter.java
@@ -1031,7 +1031,6 @@ public final class BluetoothAdapter {
/**
* Return true if the multi advertisement is supported by the chipset
*
- * @hide
* @return true if Multiple Advertisement feature is supported
*/
public boolean isMultipleAdvertisementSupported() {
@@ -1047,7 +1046,6 @@ public final class BluetoothAdapter {
/**
* Return true if offloaded filters are supported
*
- * @hide
* @return true if chipset supports on-chip filtering
*/
public boolean isOffloadedFilteringSupported() {
@@ -1063,7 +1061,6 @@ public final class BluetoothAdapter {
/**
* Return true if offloaded scan batching is supported
*
- * @hide
* @return true if chipset supports on-chip scan batching
*/
public boolean isOffloadedScanBatchingSupported() {