commit | bcbebcd082ac615f8b2c16e56147adc8d9ea9621 | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Thu Mar 24 15:15:15 2022 +0000 |
committer | Gavin Corkery <gavincorkery@google.com> | Mon Mar 28 14:54:23 2022 +0100 |
tree | 78cfa49b9bb952b3f65e454b4270eeebc0cdb59b | |
parent | 332e4eee86fff6eaada20bb2629c5883a96866fb [diff] |
Ensure that sandbox cannot request permissions Adds an instrumented test that verifies that the SDK sandbox cannot directly broadcast to PermissionController to request a permission. This broadcast should throw a SecurityException in SdkSandboxManagerLocal, as it is not on the allowlist. Test: atest SdkSandboxRestrictionsTest Bug: 213146951 Change-Id: Ia309faf78a1e66852f25be53236eff7cc38ba0c7