From 084da9b14e0459a91fdac11fa365cdce2fb696d9 Mon Sep 17 00:00:00 2001 From: Florian Salbrechter Date: Wed, 25 Mar 2015 11:00:55 +0000 Subject: [PATCH] Fixed wrong documentation for BLUETOOTH_SERVICE. The documentation was incorrectly stating that getSystemService() would return a BluetoothAdater for Context.BLUETOOTH_SERVICE. The actual return type is BluetoothManager. --- core/java/android/content/Context.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 39a70be8ec7ab..f7566bb7a6296 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -2819,7 +2819,7 @@ public abstract class Context { /** * Use with {@link #getSystemService} to retrieve a - * {@link android.bluetooth.BluetoothAdapter} for using Bluetooth. + * {@link android.bluetooth.BluetoothManager} for using Bluetooth. * * @see #getSystemService */