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

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

Merge "Fix talkback will not speak correct status"

parents f956e4bd b7172959
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -114,7 +114,6 @@ public class UsbDetailsFunctionsController extends UsbDetailsController
        if (function != previousFunction && !Utils.isMonkeyRunning()) {
            mPreviousFunction = previousFunction;

            if (function == UsbManager.FUNCTION_RNDIS) {
            //Update the UI in advance to make it looks smooth
            final RadioButtonPreference prevPref =
                    (RadioButtonPreference) mProfilesContainer.findPreference(
@@ -124,6 +123,7 @@ public class UsbDetailsFunctionsController extends UsbDetailsController
                preference.setChecked(true);
            }

            if (function == UsbManager.FUNCTION_RNDIS) {
                // We need to have entitlement check for usb tethering, so use API in
                // ConnectivityManager.
                mConnectivityManager.startTethering(TETHERING_USB, true /* showProvisioningUi */,