Verifying equality of LinkProperties with callbacks

During the test, content of LinkProperties might be changed
according to network conditions, e.g. IPv6 RA, DNS64, etc.
Thus, verify equality of two LinkProperties got in different
time is not reliable and would cause flaky. Change it to
verify with the LinkProperties received from callbacks.

Test: atest CtsNetTestCases:android.net.cts.ConnectivityManagerTest
Fix: 254188130
Change-Id: I845940ff6c6defb1887bfda4bcb47f01382b40bc
1 file changed