OSDN Git Service

Settings: Fix hotspot switch state issue.
authorJohn Spurlock <jspurlock@google.com>
Fri, 17 Oct 2014 15:54:16 +0000 (11:54 -0400)
committerJohn Spurlock <jspurlock@google.com>
Fri, 17 Oct 2014 15:55:26 +0000 (11:55 -0400)
Bug: 17967405
Change-Id: I40b956f483e2bdf313b42f6ed8906d5f8e9b95de

src/com/android/settings/wifi/WifiApEnabler.java

index fc34f3b..88bb9fa 100644 (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: