summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@google.com>2020-02-27 03:51:30 -0800
committerDaniel Colascione <dancol@google.com>2020-02-27 12:29:58 +0000
commita3c6c09c6976138e9d5ac0ab4dc9aea50c40fbeb (patch)
treebfcc9d1c812d9f941af72444e2fcd56b4fdd7f83 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9651ab2de415b8438cb892e693f3561beea50d18 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions