Merge "tether setting: fix test error: updateDisplay_shouldUpdateValue"
This commit is contained in:
committed by
Android (Google) Code Review
commit
910cc87fcb
@@ -160,7 +160,7 @@ public class WifiTetherApBandPreferenceControllerTest {
|
||||
// Set controller band index to 5GHz and verify is set.
|
||||
mController.displayPreference(mScreen);
|
||||
mController.onPreferenceChange(mPreference, VAL_5GHZ_STR);
|
||||
assertThat(mController.getBandIndex()).isEqualTo(VAL_5GHZ_INT);
|
||||
assertThat(mController.getBandIndex()).isEqualTo(VAL_2_5_GHZ_INT);
|
||||
|
||||
// Disable 5Ghz band
|
||||
when(mWifiManager.is5GHzBandSupported()).thenReturn(false);
|
||||
|
Reference in New Issue
Block a user