commit | 66e13bad4243bd0343d5e6051b62bb856824807b | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Fri Dec 04 20:11:01 2020 +0000 |
committer | Hai Zhang <zhanghai@google.com> | Wed Dec 09 00:45:40 2020 +0000 |
tree | a0a79540ad4220c7f3166c56a7f7251576992cbb | |
parent | 190d57124cd617fc947401d2b6b46826fb51686b [diff] |
Use per-user Shell UID for adoptShellPermissionIdentity(). Previously we were delegating the per-user Shell's permission state and primary user Shell's app op state to the instrumentation, which is inconsistent. We should always delegate the per-user Shell's state. Bug: 170742504 Change-Id: I3773c2fe34f337f5790ba7d85647501a0f86522f Test: presubmit (cherry picked from commit e6fe4bc8c5e64627670c9cb1a8d3d53762098243)