diff options
author | Kurt Dresner <kdresner@google.com> | 2021-09-14 22:19:44 +0000 |
---|---|---|
committer | Kurt Dresner <kdresner@google.com> | 2021-09-16 21:00:33 +0000 |
commit | c8c2c0d005a1e099f28dfa96339f3ecaf9b6fc70 (patch) | |
tree | 5512a6288ae831dc9bae811bd57df883c9fbfb1a /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 9260cf283158ca337c61e109e822b5f5adbcbffa (diff) |
Clear caller identity in doesPackageHaveCallingUid helper method so it can work across users.
When this helper method is called on a binder thread it checks the caller's permission instead of just using the system service privileges to make the call, resulting in erroneous SecurityExceptions.
Bug: 182832208
Bug: 198860541
Test: CTS/unit tests
Change-Id: I2c71109f2556a47b8e44150565800528496173f5
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions