commit | 2c6db2fa857ea0a87246e6eda048e5ca394f0e1d | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Thu Mar 18 21:35:45 2021 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Mon Mar 22 18:59:41 2021 +0800 |
tree | 21f0c5465e1ff9c0dd35e54ed748d978070d836a | |
parent | 7a4706989607d068ef31b9fd14176ccf26ee6041 [diff] |
Fix IpConfigStore dependencies on framework-connectivity This change fixes IpConfigStore dependencies on framework-connectivity hidden APIs. - Use the version of SystemApi to new RouteInfo. - Inline the implementation of isIPv4Default() directly because isDefaultRoute() is a public API so it can be used in this class. Bug: 178777253 Test: FrameworksServicesTests:IpConfigStoreTest Change-Id: I5ed1bc8bc8bee5b0c795fd8577a2d64628998e51