Media Solutions: Fix misspelling for "roboletric"

roboletric -> robolectric

PiperOrigin-RevId: 440101421
This commit is contained in:
huangdarwin 2022-04-07 15:32:41 +01:00 committed by Ian Baker
parent f3b80fd54d
commit 9a7b71b7c2

View File

@ -763,7 +763,7 @@ public final class DefaultBandwidthMeterTest {
networkInfo.getType(), networkTypeOverride); networkInfo.getType(), networkTypeOverride);
Shadows.shadowOf(telephonyManager).setTelephonyDisplayInfo(displayInfo); Shadows.shadowOf(telephonyManager).setTelephonyDisplayInfo(displayInfo);
} }
// Create a sticky broadcast for the connectivity action because Roboletric isn't replying with // Create a sticky broadcast for the connectivity action because Robolectric isn't replying with
// the current network state if a receiver for this intent is registered. // the current network state if a receiver for this intent is registered.
ApplicationProvider.getApplicationContext() ApplicationProvider.getApplicationContext()
.sendStickyBroadcast(new Intent(ConnectivityManager.CONNECTIVITY_ACTION)); .sendStickyBroadcast(new Intent(ConnectivityManager.CONNECTIVITY_ACTION));