commit | cc8b163dba9ea7683e515285c56e07a0f1fcb1b7 | [log] [tgz] |
---|---|---|
author | paulhu <paulhu@google.com> | Sat Nov 07 01:00:31 2020 +0800 |
committer | Paul Hu <paulhu@google.com> | Mon Nov 09 06:17:28 2020 +0000 |
tree | 3c9d16782fdbb2560ba5bb833174325dea4a5c8e | |
parent | a1c0a065803f763770ce3fcb1b740462dd13ee48 [diff] |
Expose some ApplicationInfo#is* methods as in-process API Connectivity service is going to become a mainline module which will not able to access hidden APIs. But PermissionMonitor needs ApplicationInfo#is(Vendor|Oem|Product) APIs to know the package partition. Thus, expose them as in-process API to support the usage. Bug: 170593746 Test: atest FrameworksNetTests Change-Id: Ie4ffb2b47539786dd51b885ca93c8813d039c4da