Index: device/bluetooth/bluetooth_adapter_mac.mm |
diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm |
index c63eaab8d17983d02ea19d207ed31c72ea40ec85..dca907ffdeac4f616fb7be80f9b5869985590224 100644 |
--- a/device/bluetooth/bluetooth_adapter_mac.mm |
+++ b/device/bluetooth/bluetooth_adapter_mac.mm |
@@ -128,8 +128,8 @@ |
bool BluetoothAdapterMac::IsPresent() const { |
bool is_present = !address_.empty(); |
if (IsLowEnergyAvailable()) { |
- is_present = is_present || ([low_energy_central_manager_ state] != |
- CBCentralManagerStateUnsupported); |
+ is_present = is_present || ([low_energy_central_manager_ state] == |
+ CBCentralManagerStatePoweredOn); |
} |
return is_present; |
} |