summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBernardo Rufino <brufino@google.com>2020-04-01 15:19:49 +0100
committerBernardo Rufino <brufino@google.com>2020-04-22 17:23:52 +0000
commitc7988a90c749e5c2f8a19d50661492a39c3ec394 (patch)
tree5be80254405fdb18aa011747623e28e1047059b5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6d5625c5cee23435cfa55ff16fcb57f33caafdae (diff)
Allow sysUI to send a11y events for other package and user
As discussed, we: * Allow apps with INTERACT_ACCROSS_USERS(_FULL) to specify an explicit user (instead of just USER_CURRENT). * Introduce new signature permission ACT_AS_PACKAGE_FOR_ACCESSIBILITY and grant it to sysUI. This permissions allow holders to specify another package on behalf of which they can perform a11y operations. This is for toasts since now sysUI renders toasts on behalf of the app for apps targeting R+. Bug: 152839254 Test: atest FrameworksServicesTests:AccessibilitySecurityPolicyTest FrameworksServicesTests:AccessibilityWindowManagerTest android.widget.cts.ToastTest Change-Id: I3541045d574518571f348051d53e24ff1a4a67ef
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions