Merge "Bluetooth: persist state when turning on from BLE" am: 8e9551bacf
am: e6164ca72a
Change-Id: I7c27d09c83daf73817585f2713bd2f05b97cd525
This commit is contained in:
@@ -1281,8 +1281,9 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
|
||||
if (mBluetooth != null) {
|
||||
int state = mBluetooth.getState();
|
||||
if (state == BluetoothAdapter.STATE_BLE_ON) {
|
||||
Slog.w(TAG, "BT is in BLE_ON State");
|
||||
Slog.w(TAG, "BT Enable in BLE_ON State, going to ON");
|
||||
mBluetooth.onLeServiceUp();
|
||||
persistBluetoothSetting(BLUETOOTH_ON_BLUETOOTH);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user