commit | 9c981adba481af53dfc05d8b42080a593824d7ff | [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 | 2ecb449e4ffef3ba65e85f8c50df08a1a1e3ac98 | |
parent | 435d580374c7f41a7ec574e3ccdf7f5425c11812 [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