commit | 310c9fbc204f06c19ed500eb67181a91990aa89b | [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 | 635e43ae1a46c17e35c83ce943e910491e038daf [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