diff options
author | Amith Yamasani <yamasani@google.com> | 2019-04-19 13:39:51 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2019-04-19 13:39:51 -0700 |
commit | e744669389a9e9ba9995ec79e739021b46dc6571 (patch) | |
tree | a7e98aede1eaa66a288fc06097829ad97755fa9f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3a15b6c1dfef54f41cc8938aba0a5ede6902a7dd (diff) |
Clear calling identity before calling into UserManagerService
For cases where the settings are being written synchronously from
an API call, make sure to clear the calling identity before
querying users to avoid a SecurityException.
Bug: 113105346
Test: atest CtsContentTestCases:PackageManagerTest
Change-Id: I28b78dce99d36caa58ab448476ec01a51689246b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions