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:
Zoey Chen
2021-03-19 10:47:25 +00:00
committed by Automerger Merge Worker
2 changed files with 15 additions and 15 deletions

View File

@@ -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);