Merge "Avoid disabling the Wi-Fi hotspot switch causing Talkback confusion" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
75e2dc4b21
@@ -147,8 +147,8 @@ public class WifiTetherSwitchBarControllerTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void onSwitchChanged_switchNotEnabled_doNothingForTethering() {
|
||||
when(mSwitch.isEnabled()).thenReturn(false);
|
||||
public void onSwitchChanged_switchIsBusy_doNothingForTethering() {
|
||||
mController.mIsSwitchBusy = true;
|
||||
|
||||
mController.onCheckedChanged(mSwitch, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user