Index: device/bluetooth/bluetooth_adapter_bluez.cc |
diff --git a/device/bluetooth/bluetooth_adapter_bluez.cc b/device/bluetooth/bluetooth_adapter_bluez.cc |
index f8df754c95e63d82b24ff673b6912d200292cbe6..5d3fdea53569874d3da876b79c87486def3f4eb2 100644 |
--- a/device/bluetooth/bluetooth_adapter_bluez.cc |
+++ b/device/bluetooth/bluetooth_adapter_bluez.cc |
@@ -828,10 +828,6 @@ void BluetoothAdapterBlueZ::SetDefaultAdapterName() { |
alias = "Chromebook"; |
break; |
} |
-#elif defined(OS_LINUX) |
- alias = "ChromeLinux"; |
-#endif |
- |
// Take the lower 2 bytes of hashed Bluetooth address and combine it with the |
// device type to create a more identifiable device name. |
const std::string address = GetAddress(); |
@@ -839,6 +835,9 @@ void BluetoothAdapterBlueZ::SetDefaultAdapterName() { |
"%s_%04X", alias.c_str(), |
base::SuperFastHash(address.data(), address.size()) & 0xFFFF); |
SetName(alias, base::Bind(&base::DoNothing), base::Bind(&base::DoNothing)); |
+#elif defined(OS_LINUX) |
ortuno
2016/03/30 17:11:57
You are moving this after "SetName" so you might a
|
+ alias = "ChromeLinux"; |
+#endif |
} |
void BluetoothAdapterBlueZ::RemoveAdapter() { |