Merge "Fix race when starting NetworkMonitor" am: ef8485cc65 am: ea71c49a0e
am: 3a8102ab8e
Change-Id: I595ecdbf0b8e91fec4287c3476239a1e6c9c80a7
This commit is contained in:
@@ -499,7 +499,7 @@ public class ConnectivityServiceTest {
|
||||
};
|
||||
|
||||
try {
|
||||
doAnswer(validateAnswer).when(mNetworkMonitor).notifyNetworkConnected();
|
||||
doAnswer(validateAnswer).when(mNetworkMonitor).notifyNetworkConnected(any(), any());
|
||||
doAnswer(validateAnswer).when(mNetworkMonitor).forceReevaluation(anyInt());
|
||||
} catch (RemoteException e) {
|
||||
fail(e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user