Skip to content
Commit 7218cfcb authored by Patrick Baumann's avatar Patrick Baumann
Browse files

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
parent ca01d294
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment