commit | 34dcb3de111d2ca863b64c130bfe9e81704eb85d | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Wed Feb 03 18:18:13 2021 +0800 |
committer | Chiachang Wang <chiachangwang@google.com> | Wed Feb 03 10:53:47 2021 +0000 |
tree | 1ca224f815b36249bf412efaafac5b1eb17bf597 | |
parent | b062f94b3b2eae39e8ce845aab12d5a9a0a71b48 [diff] |
Move shared methods to NetUtils The getNetworkPart() method is used by Settings and wifi. The method was inside NetworkUtils, but NetworkUtils is moving to connectivity mainline module. Methods in NetworkUtils will not be accessible outside module. Thus, move the shared method and the corresponding helper method to share lib. Bug: 172183305 Test: atest FrameworksNetTests Change-Id: Ic39f0debf1146dd84db962857dcead6b498aec49