summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMichal Karpinski <mkarpinski@google.com>2019-03-07 16:15:14 +0000
committerMichal Karpinski <mkarpinski@google.com>2019-03-13 11:29:12 +0000
commite069b0022f5aa090d00b9266f2760cb2c7a6e97f (patch)
tree40fd05629bec7e065c44ed89e56258343481f590 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent794d22d0a7a02ada66e526bd56eac1170977eedb (diff)
Add new BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS binding flag
and the mechanism to use it Since both starts and bindings might be contributing to the service being whitelisted, track the state in ServiceRecord and update the parent process accordingly when changes happen. While we're at it, add that flag for bindings to accessibility services, voice interaction services and QSTiles. Also, make the timeout constant configurable for start-based whitelisting. Bug: 124298522 Bug: 123495976 (accessibility services) Bug: 123337181 (paying via NFC, like Google Pay) Bug: 122887611 (binding to InCallService) Bug: 127774234 (binding to QSTile) Bug: 124288681 (binding to voice interaction services) Test: atest WmTests:ActivityStarterTests Test: atest AccessibilityServiceConnectionTest Test: manual with: 1) notifications from calendar and dynamite to test service starts whitelisting 2) enabling talkback and livetranscribe to test service bindings whitelisting 3) adding the LastPass QSTile and clicking on it Change-Id: I8b6f23f999683920411ca40ab5b25c688a4f7055
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions