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.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user