Merge "Configuration for priority/auto-connection for PAN."
This commit is contained in:
@@ -7936,6 +7936,9 @@ public final class Settings {
|
|||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public static final String
|
public static final String
|
||||||
BLUETOOTH_SAP_PRIORITY_PREFIX = "bluetooth_sap_priority_";
|
BLUETOOTH_SAP_PRIORITY_PREFIX = "bluetooth_sap_priority_";
|
||||||
|
/** {@hide} */
|
||||||
|
public static final String
|
||||||
|
BLUETOOTH_PAN_PRIORITY_PREFIX = "bluetooth_pan_priority_";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Device Idle (Doze) specific settings.
|
* Device Idle (Doze) specific settings.
|
||||||
@@ -8112,6 +8115,14 @@ public final class Settings {
|
|||||||
return BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX + address.toUpperCase(Locale.ROOT);
|
return BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX + address.toUpperCase(Locale.ROOT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the key that retrieves a bluetooth pan client priority.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String getBluetoothPanPriorityKey(String address) {
|
||||||
|
return BLUETOOTH_PAN_PRIORITY_PREFIX + address.toUpperCase(Locale.ROOT);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the key that retrieves a bluetooth map priority.
|
* Get the key that retrieves a bluetooth map priority.
|
||||||
* @hide
|
* @hide
|
||||||
|
|||||||
@@ -1290,6 +1290,9 @@
|
|||||||
<!-- Whether supported profiles should be reloaded upon enabling bluetooth -->
|
<!-- Whether supported profiles should be reloaded upon enabling bluetooth -->
|
||||||
<bool name="config_bluetooth_reload_supported_profiles_when_enabled">false</bool>
|
<bool name="config_bluetooth_reload_supported_profiles_when_enabled">false</bool>
|
||||||
|
|
||||||
|
<!-- Enabling autoconnect over pan -->
|
||||||
|
<bool name="config_bluetooth_pan_enable_autoconnect">false</bool>
|
||||||
|
|
||||||
<!-- The default data-use polling period. -->
|
<!-- The default data-use polling period. -->
|
||||||
<integer name="config_datause_polling_period_sec">600</integer>
|
<integer name="config_datause_polling_period_sec">600</integer>
|
||||||
|
|
||||||
|
|||||||
@@ -364,6 +364,7 @@
|
|||||||
<java-symbol type="integer" name="config_bluetooth_rx_cur_ma" />
|
<java-symbol type="integer" name="config_bluetooth_rx_cur_ma" />
|
||||||
<java-symbol type="integer" name="config_bluetooth_tx_cur_ma" />
|
<java-symbol type="integer" name="config_bluetooth_tx_cur_ma" />
|
||||||
<java-symbol type="integer" name="config_bluetooth_operating_voltage_mv" />
|
<java-symbol type="integer" name="config_bluetooth_operating_voltage_mv" />
|
||||||
|
<java-symbol type="bool" name="config_bluetooth_pan_enable_autoconnect" />
|
||||||
<java-symbol type="bool" name="config_bluetooth_reload_supported_profiles_when_enabled" />
|
<java-symbol type="bool" name="config_bluetooth_reload_supported_profiles_when_enabled" />
|
||||||
<java-symbol type="integer" name="config_cursorWindowSize" />
|
<java-symbol type="integer" name="config_cursorWindowSize" />
|
||||||
<java-symbol type="integer" name="config_drawLockTimeoutMillis" />
|
<java-symbol type="integer" name="config_drawLockTimeoutMillis" />
|
||||||
|
|||||||
Reference in New Issue
Block a user