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