diff options
| author | 2016-12-20 21:27:05 +0000 | |
|---|---|---|
| committer | 2016-12-20 21:27:05 +0000 | |
| commit | bf43955a6bde291bd489e15a79ffc467553adbe3 (patch) | |
| tree | d6e40a9846437c1e887514302fd4282d6c49405c | |
| parent | 99a19e81169075f0b8c4f813d68d4f4012384edb (diff) | |
| parent | e6164ca72a5ed4fe652b3c1af2624bf53898799f (diff) | |
Merge "Bluetooth: persist state when turning on from BLE" am: 8e9551bacf
am: e6164ca72a
Change-Id: I7c27d09c83daf73817585f2713bd2f05b97cd525
| -rw-r--r-- | services/core/java/com/android/server/BluetoothManagerService.java | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/BluetoothManagerService.java b/services/core/java/com/android/server/BluetoothManagerService.java index 19027ec98006..134ace669102 100644 --- a/services/core/java/com/android/server/BluetoothManagerService.java +++ b/services/core/java/com/android/server/BluetoothManagerService.java @@ -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;                              }                          }  |