Merge "Bluetooth: Fix boolean logic in quiet mode enable"
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user