Settings: Fix hotspot switch state issue.

Bug: 17967405
Change-Id: I40b956f483e2bdf313b42f6ed8906d5f8e9b95de
This commit is contained in:
John Spurlock
2014-10-17 11:54:16 -04:00
parent 63af7fc70e
commit 27334dbe75

View File

@@ -194,6 +194,7 @@ public class WifiApEnabler {
break;
case WifiManager.WIFI_AP_STATE_DISABLING:
mSwitch.setSummary(R.string.wifi_tether_stopping);
mSwitch.setChecked(false);
mSwitch.setEnabled(false);
break;
case WifiManager.WIFI_AP_STATE_DISABLED: