Skip to content
Commit 5b04b1c8 authored by Sanjana Sunil's avatar Sanjana Sunil
Browse files

Add support to start and stop SDK sandbox services

Starting the sandbox service instead of just binding gives us better
control over the sandbox:
* There is no longer a dependency on using BIND_AUTO_CREATE to create a
  sandbox process. Sandbox restarts can therefore be disabled if needed.
* The sandbox can be killed by stopping the service instead of using
  killUid(). Therefore, the sandbox can be informed when it is about to
  die. Killing multiple sandboxes sharing a uid can also be avoided.

Bug: 239562510
Test: atest SdkSandboxLifecycleHostTest
Change-Id: I5c2302a58beb71b08c4d435625e791006bacd3fb
parent 9d037008
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment