commit | a3c6c09c6976138e9d5ac0ab4dc9aea50c40fbeb | [log] [tgz] |
---|---|---|
author | Daniel Colascione <dancol@google.com> | Thu Feb 27 03:51:30 2020 -0800 |
committer | Daniel Colascione <dancol@google.com> | Thu Feb 27 12:29:58 2020 +0000 |
tree | bfcc9d1c812d9f941af72444e2fcd56b4fdd7f83 | |
parent | 9651ab2de415b8438cb892e693f3561beea50d18 [diff] |
Flush permission cache when we change delegates Delegates can change the results of permission checks. This change assumes that delegate results are not dynamic, but that seems to be the case in practice. Just in case, re-setting the delegate acts as a cache flush. Test: atest UiAutomationTest#testAdoptAllShellPermissions Bug: b/150265749 Change-Id: I26e7330ebbdeaf2e7e282f3c770b962688aabf41