Merge "[Settings] Revert the test for using mPhoneStateListener since the Robolectric test is broken" into sc-dev am: fd52e36de9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13922073 Change-Id: I9bfee4fc90425d4a7f3fb97d94f0ae93d60a86d3
This commit is contained in:
@@ -57,7 +57,7 @@ public final class AirplaneModeEnablerTest {
|
||||
|
||||
ShadowSettings.setAirplaneMode(true);
|
||||
|
||||
mAirplaneModeEnabler.mTelephonyCallback.onRadioPowerStateChanged(
|
||||
mAirplaneModeEnabler.mPhoneStateListener.onRadioPowerStateChanged(
|
||||
TelephonyManager.RADIO_POWER_OFF);
|
||||
|
||||
verify(mAirplaneModeChangedListener, times(1)).onAirplaneModeChanged(true);
|
||||
|
||||
Reference in New Issue
Block a user