Merge "Bluetooth: Fix boolean logic in quiet mode enable" am: 1801711c53
am: b9d49781ac
Change-Id: I8173afb73788a3de9ce7b1af07e653f9b76fbefa
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