summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2020-02-06 13:24:45 -0800
committerPatrick Baumann <patb@google.com>2020-02-06 22:33:01 +0000
commit7218cfcb2e365e2bcdf64433d07587aaf1cf0d4e (patch)
tree3200268357eff3752a1bacecabf77090fe34a248 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentca01d2946264dece083b83f2f4fffa9776adf51e (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