commit | 667972157ff9a18f98c274463e9e87f334a985fc | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Thu Dec 10 23:32:32 2020 +0800 |
committer | paulhu <paulhu@google.com> | Thu Dec 10 23:32:32 2020 +0800 |
tree | 58de855a1f72738d991e27c71f52d47523e8918d | |
parent | 0da448710c6c4babea3f9ec7811c33be88764237 [diff] |
Replace PackageManager @hide APIs ConnectivityService is using PackageManager#getApplicationInfoAsUser() to get application info but this API is not able to call after CS becomes a mainline module. Thus, replace it with formal API. Bug: 170593746 Test: atest FrameworksNetTests Test: atest CtsNetTestCasesLegacyApi22 Change-Id: Idd1269aa50e234801583097bb6f40b099bab8fba