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 Merged-In: I607b7c9afe1c384a41ce12b92ae43747b2ee1bc3 Change-Id: I59d32a2e36950b2485e1a46a25e3724928676219
Loading
Please register or sign in to comment