Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc

Issue 2702493002: [ash-md] Disables the Wi-Fi and Cellular toggles until the state changes (Closed)
Patch Set: [ash-md] Disables the Wi-Fi and Cellular toggles until the state changes (comments) Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/system/chromeos/network/network_list_md.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
diff --git a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
index bdd8119fbf639fbe8748ac56958eaa09ef4ca787..c3bff9677751a4109a5374e204f8cffb9f8fdc1e 100644
--- a/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
+++ b/ash/common/system/chromeos/bluetooth/tray_bluetooth.cc
@@ -266,7 +266,7 @@ class BluetoothDetailedView : public TrayDetailsView {
bool is_bluetooth_enabled =
WmShell::Get()->system_tray_delegate()->GetBluetoothEnabled();
if (toggle_)
- toggle_->SetIsOn(is_bluetooth_enabled, false);
+ toggle_->SetIsOn(is_bluetooth_enabled, true);
}
void UpdateDeviceScrollList() {
« no previous file with comments | « no previous file | ash/common/system/chromeos/network/network_list_md.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698