Inform apps of sandbox death through callbacks

Apps can use SdkSandboxLifecycleCallback to receive notifications about
the death of the sandbox after registering the callback via
registerSdkSandboxLifecycleCallback(). If the sandbox has not been
created yet (for e.g. if the app tries to register the callback before
the sandbox is created), the callback is queued until the sandbox is
created.

Bug: 238761711
Bug: 240437810
Test: atest SdkSandboxManagerServiceUnitTest
Test: atest SdkSandboxManagerTest
Change-Id: I5c6d177f643d167a84dca1ab454e967dbcb50992
10 files changed
tree: 3b18f1cd59fdcbd8be076d43f2890cbf99757e0d
  1. adservices/
  2. apex/
  3. sdksandbox/
  4. groups
  5. OWNERS
  6. PREUPLOAD.cfg
  7. project.config