Enable Bluetooth by default
Bug: 29446913 Change-Id: I6d42810cb3f99617b886f6c643f8c66c42c1d017
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<fraction name="def_window_transition_scale">100%</fraction>
|
||||
<bool name="def_haptic_feedback">true</bool>
|
||||
|
||||
<bool name="def_bluetooth_on">false</bool>
|
||||
<bool name="def_bluetooth_on">true</bool>
|
||||
<bool name="def_wifi_display_on">false</bool>
|
||||
<bool name="def_install_non_market_apps">false</bool>
|
||||
<bool name="def_package_verifier_enable">true</bool>
|
||||
|
||||
@@ -293,7 +293,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
||||
*/
|
||||
private final boolean isBluetoothPersistedStateOn() {
|
||||
return Settings.Global.getInt(mContentResolver,
|
||||
Settings.Global.BLUETOOTH_ON, 0) != BLUETOOTH_OFF;
|
||||
Settings.Global.BLUETOOTH_ON, BLUETOOTH_ON_BLUETOOTH) != BLUETOOTH_OFF;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -301,7 +301,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
||||
*/
|
||||
private final boolean isBluetoothPersistedStateOnBluetooth() {
|
||||
return Settings.Global.getInt(mContentResolver,
|
||||
Settings.Global.BLUETOOTH_ON, 0) == BLUETOOTH_ON_BLUETOOTH;
|
||||
Settings.Global.BLUETOOTH_ON, BLUETOOTH_ON_BLUETOOTH) == BLUETOOTH_ON_BLUETOOTH;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user