commit | 79550eb07af1d1d825b6b49e96d312954a2b65d1 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Thu Feb 17 17:44:03 2022 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Thu Feb 17 17:45:05 2022 +0900 |
tree | 304f75e2c3d7e6397c02c818066ab7fc1ef604d4 | |
parent | d2a994be9ab11fd6ef6aa6104a94c1f2ae477c33 [diff] |
Allow of expectAvailableCallbacks when validation state is unknown. Currently, expectAvailableCallbacks requires that the caller know in advance what the validation state is. This CL allows the caller to pass in validated = null to indicate that it does not matter whether the network is validated or not. Test: modified CTS test in other CL in topic Test: atest CtsNetTestCases:android.net.cts.ConnectivityManagerTest Change-Id: Ie54806a4a1d907de630819e11f9e34602cc55ef4