Skip to content

Commit 4de51e4

Browse files
Andre EisenbachThe Android Automerger
authored andcommitted
DO NOT MERGE Read Bluetooth interop database entries from settings (1/2)
Interop database entries are stored in the system settings entry "BluetoothInteropDatabase". The format is a list of entries separated by ";". An entry consists of a BDA fragment, followed by a comma and an integer representing a feature from interop.h. Example: To disable LE secure connections for devices starting with BDA 11:22:33, use "11:22:33,0". Bug: 26548845 Change-Id: I6a9fd34f6af4d3bdfcaa0e051eafebdfbf2a4949 (cherry picked from commit 3bc623b)
1 parent d60d007 commit 4de51e4

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

core/java/android/provider/Settings.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6029,6 +6029,18 @@ public static final class Global extends NameValueTable {
60296029
*/
60306030
public static final String AIRPLANE_MODE_TOGGLEABLE_RADIOS = "airplane_mode_toggleable_radios";
60316031

6032+
/**
6033+
* A semi-colon separated list of Bluetooth interoperability workarounds.
6034+
* Each entry is a partial Bluetooth device address string and an integer representing
6035+
* the feature to be disabled, separated by a comma. The integer must correspond
6036+
* to a interoperability feature as defined in "interop.h" in /system/bt.
6037+
* <p>
6038+
* Example: <br/>
6039+
* "00:11:22,0;01:02:03:04,2"
6040+
* @hide
6041+
*/
6042+
public static final String BLUETOOTH_INTEROPERABILITY_LIST = "bluetooth_interoperability_list";
6043+
60326044
/**
60336045
* The policy for deciding when Wi-Fi should go to sleep (which will in
60346046
* turn switch to using the mobile data as an Internet connection).

0 commit comments

Comments
 (0)