summaryrefslogtreecommitdiffstats
path: root/api/current.xml
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2009-10-08 00:12:45 +0200
committerNick Pelly <npelly@google.com>2009-10-08 00:27:17 +0200
commitf242b7b931898856bcbcb7ec36cacf43098ba544 (patch)
tree67912da6290cfa6c5f7894a2c70222987c4b4677 /api/current.xml
parent16fb88a673c41b93c5d57ccb28c2697e7d87701a (diff)
downloadframeworks_base-f242b7b931898856bcbcb7ec36cacf43098ba544.zip
frameworks_base-f242b7b931898856bcbcb7ec36cacf43098ba544.tar.gz
frameworks_base-f242b7b931898856bcbcb7ec36cacf43098ba544.tar.bz2
Introduce BluetoothAdapter.getDefaultAdapter().
This is the main entry point to the Bluetooth APIs, and returns the default local Bluetooth adapter. It replaces context.getSystemService(Context.BLUETOOTH_SERVICE). This was never in a public SDK release. DrNo: eastham Bug: 2158765 Joke: Why can't you play cards in the jungle? Because there's too many cheetas! Change-Id: Ieed8be009ee5aba621cb69090ee8c8a9c19c840d
Diffstat (limited to 'api/current.xml')
-rw-r--r--api/current.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/api/current.xml b/api/current.xml
index 0bca84b..f4d81c7 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -25550,6 +25550,17 @@
visibility="public"
>
</method>
+<method name="getDefaultAdapter"
+ return="android.bluetooth.BluetoothAdapter"
+ abstract="false"
+ native="false"
+ synchronized="true"
+ static="true"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="getName"
return="java.lang.String"
abstract="false"
@@ -31505,17 +31516,6 @@
visibility="public"
>
</field>
-<field name="BLUETOOTH_SERVICE"
- type="java.lang.String"
- transient="false"
- volatile="false"
- value="&quot;bluetooth&quot;"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
<field name="CLIPBOARD_SERVICE"
type="java.lang.String"
transient="false"