[Wi-Fi] Fix Wi-Fi broken tests

Bug: 150910070
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: Ie9b9384610857e2999fe4642a93c2d31ce3315f3
This commit is contained in:
Arc Wang
2020-03-19 14:42:14 +08:00
parent 9b72496123
commit 4fafe6716c
7 changed files with 36 additions and 33 deletions

View File

@@ -94,7 +94,7 @@ public class WifiTetherSwitchBarController implements
@Override
public void onClick(View v) {
if (mSwitch.isChecked()) {
if (((Switch) v).isChecked()) {
startTether();
} else {
stopTether();