Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 757fc770 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Reset soft AP state when tethering fails from QS."

parents 0e93f74d 90eeecc3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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.
        }