commit | e744669389a9e9ba9995ec79e739021b46dc6571 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Fri Apr 19 13:39:51 2019 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Fri Apr 19 13:39:51 2019 -0700 |
tree | a7e98aede1eaa66a288fc06097829ad97755fa9f | |
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