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

Commit 255fa0e9 authored by Amith Yamasani's avatar Amith Yamasani Committed by Android Git Automerger
Browse files

am aae04e43: Prevent monkeys from USB tethering. It disconnects the test host. DO NOT MERGE.

* commit 'aae04e43':
  Prevent monkeys from USB tethering. It disconnects the test host. DO NOT MERGE.
parents d422079a aae04e43
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public class TetherSettings extends PreferenceActivity {
                (ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);

        mUsbRegexs = cm.getTetherableUsbRegexs();
        if (mUsbRegexs.length == 0) {
        if (mUsbRegexs.length == 0 || Utils.isMonkeyRunning()) {
            getPreferenceScreen().removePreference(mUsbTether);

            setTitle(R.string.tether_settings_title_wifi);