Merge "Bluetooth: Fix boolean logic in quiet mode enable"

This commit is contained in:
Jack He
2017-12-08 22:13:27 +00:00
committed by Gerrit Code Review

View File

@@ -1628,7 +1628,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
//Do enable request //Do enable request
try { try {
if (mQuietEnable) { if (!mQuietEnable) {
if (!mBluetooth.enable()) { if (!mBluetooth.enable()) {
Slog.e(TAG, "IBluetooth.enable() returned false"); Slog.e(TAG, "IBluetooth.enable() returned false");
} }