Merge "Hide 'View plan' button in data usage settings" into rvc-qpr-dev am: 1a09d244d4
am: 09a906b972
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12755868 Change-Id: I8101838915bb821e9ce6483ba2c7d21ad894a0e5
This commit is contained in:
@@ -184,9 +184,10 @@ public class DataUsageSummaryPreferenceControllerTest {
|
||||
CharSequence value = captor.getValue();
|
||||
assertThat(value.toString()).isEqualTo("512 MB data warning / 1.00 GB data limit");
|
||||
|
||||
// TODO (b/170330084): return intent instead of null for mSummaryPreference
|
||||
verify(mSummaryPreference).setUsageInfo((info.cycleEnd / 1000) * 1000,
|
||||
now - UPDATE_BACKOFF_MS,
|
||||
CARRIER_NAME, 1 /* numPlans */, intent);
|
||||
CARRIER_NAME, 1 /* numPlans */, null /* launchIntent */);
|
||||
verify(mSummaryPreference).setChartEnabled(true);
|
||||
verify(mSummaryPreference).setWifiMode(false /* isWifiMode */, null /* usagePeriod */,
|
||||
false /* isSingleWifi */);
|
||||
|
Reference in New Issue
Block a user