Merge "Make sure the right NetworkMonitor start method is called on S-/T+"
This commit is contained in:
commit
894912c85e
1 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue