summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Context.java
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 /core/java/android/content/Context.java
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 'core/java/android/content/Context.java')
-rw-r--r--core/java/android/content/Context.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index fe4665e..8f1c671 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -1218,14 +1218,6 @@ public abstract class Context {
*/
public static final String SENSOR_SERVICE = "sensor";
/**
- * Use with {@link #getSystemService} to retrieve a {@link
- * android.bluetooth.BluetoothAdapter} for using Bluetooth.
- *
- * @see #getSystemService
- * @see android.bluetooth.BluetoothAdapter
- */
- public static final String BLUETOOTH_SERVICE = "bluetooth";
- /**
* Use with {@link #getSystemService} to retrieve a
* com.android.server.WallpaperService for accessing wallpapers.
*