summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Gavin Corkery <gavincorkery@google.com> 2022-03-03 16:19:48 +0000
committer Gavin Corkery <gavincorkery@google.com> 2022-03-15 18:40:22 +0000
commit5c111ff67fdacba0fd6d23f6842044ca529a49ed (patch)
treec157afb9fb74cdb8ec6b9e247fbea60bac7dcba6 /api/api.go
parentb78bf4e4d7b9d19c8872c76e95a001adcecc315d (diff)
Add checks to allow SDK sandbox uids to broadcast certain intents
Integrates ActivityManager with new in-process APIs defined by SdkSandboxManagerLocal, which check if a sandbox uid is allowed to broadcast a given intent or start an activity with a given intent. If the intent is not allowed, a SecurityException is thrown. This change also adds several checks to the intent broadcast and activity starting flow to accommodate the sdk sandbox process. The goal of these checks is to ensure that something visible to the user is running inside the SDK sandbox process when a broadcast is sent or an activity is started. Bug: 209599396 Test: Manual tests. Send ACTION_VIEW broadcast from sdk sandbox testing apps and note that activity starts. Try to send other broadcast and note failure. Change-Id: Ia60e4a062efeef6f281c8bc28343c64f7f3936ab
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions