Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/HotspotControllerImpl.java +2 −0 Original line number Diff line number Diff line Loading @@ -205,6 +205,8 @@ public class HotspotControllerImpl implements HotspotController, WifiManager.Sof public void onTetheringFailed() { if (DEBUG) Log.d(TAG, "onTetheringFailed"); mWaitingForCallback = false; // TODO(b/110697252): stopTethering must be called to reset soft ap state after failure mConnectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); fireHotspotChangedCallback(isHotspotEnabled()); // TODO: Show error. } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/HotspotControllerImpl.java +2 −0 Original line number Diff line number Diff line Loading @@ -205,6 +205,8 @@ public class HotspotControllerImpl implements HotspotController, WifiManager.Sof public void onTetheringFailed() { if (DEBUG) Log.d(TAG, "onTetheringFailed"); mWaitingForCallback = false; // TODO(b/110697252): stopTethering must be called to reset soft ap state after failure mConnectivityManager.stopTethering(ConnectivityManager.TETHERING_WIFI); fireHotspotChangedCallback(isHotspotEnabled()); // TODO: Show error. } Loading