commit | b0aca967c203a72fb39e3551ca2e3c35f4e5a273 | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Thu Dec 05 16:21:17 2019 +0800 |
committer | markchien <markchien@google.com> | Mon Dec 23 17:38:40 2019 +0800 |
tree | a449fd9f59769492570bbf9815c7eabd86fa53c9 | |
parent | 5640e1d836738c96b3c7b26fd128996b0b55a64d [diff] |
Add UpstreamNetworkState for tethering Previous tethering use NetworkState to encapsulate network states. But NetworkState is hide API and Tethering just use NetworkState locally that it don't interact with other module by NetworkState. To avoid hide API accessing and reduce dependency, replace NetworkState as UpstreamNetworkState in tethering. Bug: 144758082 Test: atest TetheringTests OFF/ON hotspot Change-Id: Ia1837b6ed983a64c3ed72ecf0e6f46d91b3af7da