Skip to content
Snippets Groups Projects
Commit b977674b authored by Pulkit Bhuwalka's avatar Pulkit Bhuwalka Committed by android-build-merger
Browse files

Merge "Persist Bluetooth CoD config value across reboot"

am: ba45409c

Change-Id: I4d28d0b1b52e587285d3b92b66fdc4b6c1b38720
parents a3e7c1a3 ba45409c
No related branches found
No related tags found
No related merge requests found
......@@ -1134,8 +1134,10 @@ public final class BluetoothAdapter {
}
/**
* Sets the {@link BluetoothClass} Bluetooth Class of Device (CoD) of
* the local Bluetooth adapter.
* Sets the {@link BluetoothClass} Bluetooth Class of Device (CoD) of the local Bluetooth
* adapter.
*
* <p>Note: This value persists across system reboot.
*
* @param bluetoothClass {@link BluetoothClass} to set the local Bluetooth adapter to.
* @return true if successful, false if unsuccessful.
......
......@@ -7511,6 +7511,13 @@ public final class Settings {
*/
public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS = "airplane_mode_toggleable_radios";
/**
* An integer representing the Bluetooth Class of Device (CoD).
*
* @hide
*/
public static final String BLUETOOTH_CLASS_OF_DEVICE = "bluetooth_class_of_device";
/**
* A Long representing a bitmap of profiles that should be disabled when bluetooth starts.
* See {@link android.bluetooth.BluetoothProfile}.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment