diff options
author | Todd Kennedy <toddke@google.com> | 2018-02-14 08:44:45 -0800 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2018-02-14 14:59:45 -0800 |
commit | cca0dc316cd67fba59721f2801d4329bc098e0fd (patch) | |
tree | 0c2c48afd8240bad869dcff60ce76770ec6bb34c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 11817c6bb21423cec873f5acd11cbb203bdc7729 (diff) |
Expose getInstallerPackage to instant apps
Instant apps can now call this method and _may_ get a non-null
response. The return value could be null if the requested application
is not exposed to instant apps.
NOTE: It's possible for this to leak the installer package name. The
installer may not be exposed to instant applications and may be off
limits for other package manager query APIs.
Change-Id: Ib914bb9a946aad32b42dcbc0543d74007a28c76a
Fixes: 68277134
Test: atest CtsAppSecurityHostTestCases:EphemeralTest#testEphemeralGetInstaller01,testEphemeralGetInstaller02,testEphemeralGetInstaller03
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions