diff options
author | Patrick Baumann <patb@google.com> | 2020-02-06 13:24:45 -0800 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2020-02-06 22:33:01 +0000 |
commit | 7218cfcb2e365e2bcdf64433d07587aaf1cf0d4e (patch) | |
tree | 3200268357eff3752a1bacecabf77090fe34a248 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ca01d2946264dece083b83f2f4fffa9776adf51e (diff) |
Clear calling identity when calling platformcompat
This change ensures that when we're checking whether a package has the
app enumeration feature enabled, we first clear calling identity as no
apps will have the permission needed to call it.
Test: atest AppEnumerationTests
Bug: 136675067
Change-Id: Ifd196bcc6e8f54e45318381578a0bac5243464e4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions