Merge "Merge "BluetoothManagerService: Add dumpsys logs for BLE_ON -> OFF" am: 361ab2c581 am: 6dfacdcaf2" into pi-dev-plus-aosp

This commit is contained in:
Android Build Merger (Role)
2018-04-23 21:35:47 +00:00
committed by Android (Google) Code Review

View File

@@ -285,6 +285,9 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
try {
mBluetoothLock.readLock().lock();
if (mBluetooth != null) {
addActiveLog(
BluetoothProtoEnums.ENABLE_DISABLE_REASON_AIRPLANE_MODE,
mContext.getPackageName(), false);
mBluetooth.onBrEdrDown();
mEnable = false;
mEnableExternal = false;
@@ -677,6 +680,8 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
try {
mBluetoothLock.readLock().lock();
if (mBluetooth != null) {
addActiveLog(BluetoothProtoEnums.ENABLE_DISABLE_REASON_APPLICATION_REQUEST,
mContext.getPackageName(), false);
mBluetooth.onBrEdrDown();
}
} catch (RemoteException e) {