Merge "Make sure the right NetworkMonitor start method is called on S-/T+" am: 894912c85e
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1995390 Change-Id: I9f8c6d3c9e61ab08a0a858b6af0899940ff57091
This commit is contained in:
@@ -949,6 +949,11 @@ public class ConnectivityServiceTest {
|
||||
}
|
||||
|
||||
private void onValidationRequested() throws Exception {
|
||||
if (SdkLevel.isAtLeastT()) {
|
||||
verify(mNetworkMonitor).notifyNetworkConnectedParcel(any());
|
||||
} else {
|
||||
verify(mNetworkMonitor).notifyNetworkConnected(any(), any());
|
||||
}
|
||||
if (mNmProvNotificationRequested
|
||||
&& ((mNmValidationResult & NETWORK_VALIDATION_RESULT_VALID) != 0)) {
|
||||
mNmCallbacks.hideProvisioningNotification();
|
||||
|
||||
Reference in New Issue
Block a user