commit | cf297467e062734ba19c02bdd879d6dd14769677 | [log] [tgz] |
---|---|---|
author | Brad Ebinger <breadley@google.com> | Thu Apr 25 10:59:08 2019 -0700 |
committer | Brad Ebinger <breadley@google.com> | Mon Apr 29 22:06:35 2019 +0000 |
tree | 39331ebbb6fdb4a15fe1386d3b62bbb147e4dfb4 | |
parent | 2f956b53dff62e84ce74fdb79a7104900409e79c [diff] |
Rollback SHELL UID check for CarrierConfigLoader When a test calls adoptShellPermissionIdentity before calling a command, it doesn't adopt the shell UID, only the permissions. So, we can not use Binder#getCallingIdentity to determine it the API is being called as part of a test. For now, we must only use MODIFY_PHONE_STATE until a better pattern is established. Test: Manual Bug: 131185660 Change-Id: I59d32a2e36950b2485e1a46a25e3724928676219