Fix the build break in InternetDialogControllerTest am: f811df0eb6 am: 23515199cf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16418521

Change-Id: Iff311370f719730b616215c1b3b802a0f0957eea
This commit is contained in:
Weng Su
2021-12-08 15:23:43 +00:00
committed by Automerger Merge Worker

View File

@@ -564,8 +564,8 @@ public class InternetDialogControllerTest extends SysuiTestCase {
mWifiEntries.add(mWifiEntry1);
mWifiEntries.add(mWifiEntry2);
mWifiEntries.add(mWifiEntry3);
verify(mInternetDialogCallback)
.onAccessPointsChanged(mWifiEntries, null /* connectedEntry */);
verify(mInternetDialogCallback).onAccessPointsChanged(mWifiEntries,
null /* connectedEntry */, true /* hasMoreEntry */);
// Turn off airplane mode to has carrier WiFi, then Wi-Fi entries will keep the same.
reset(mInternetDialogCallback);
@@ -573,8 +573,8 @@ public class InternetDialogControllerTest extends SysuiTestCase {
mInternetDialogController.onAccessPointsChanged(mAccessPoints);
verify(mInternetDialogCallback)
.onAccessPointsChanged(mWifiEntries, null /* connectedEntry */);
verify(mInternetDialogCallback).onAccessPointsChanged(mWifiEntries,
null /* connectedEntry */, true /* hasMoreEntry */);
}
@Test