While the actual part that track default request is inside UpstreamNetworkMonitor, instead of passing it from Tethering, move it into counter-part CL and use it from UpstreamNetworkMonitor. Since the current code is replaced by registerSystemDefaultCallback in Android S, implement it inside the api30 shim implementation to provide an unified interface to tethering. Test: atest TetheringCoverageTests Bug: 185952829 Change-Id: Iaf21b6b662aa6aba79c2b75379128b8523f81f02
4.7 KiB
4.7 KiB