diff options
| author | 2023-04-24 11:44:03 +0000 | |
|---|---|---|
| committer | 2023-05-03 09:24:14 +0000 | |
| commit | b58049a0b67b3637c90c7949bc56fed0013b7ee3 (patch) | |
| tree | f95d664d220f3b2e7750ea49fe73b780d1c1468d /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 47ac011298fc78d3aea492f9bb03606c224c30eb (diff) | |
Store SDK sandbox exit reasons under real UID and package UID
SDK sandbox processes have the same package UID, but have real UIDs
corresponding to the client app which started the sandbox. To allow SDKs
to view their own exit reasons, we need to store SDK sandbox exit
reasons under their real UID. To allow apps with the DUMP permission to
see exit reasons for all SDK sandboxes, we also store the same objects
under the package UID.
This requires additional logic to ensure the trace input is not reset if
already set.
Fixes: 241524222
Test: manual (kill sandbox process and call
getHistoricalProcessExitReasons from app w/ DUMP permission)
Test: manual (kill sandbox process and call
getHistoricalProcessExitReasons from SDK sandbox)
Test: atest SdkSandboxMetricsHostTest
Change-Id: I4279c22cbcb033b43013988c51fc441e4d2a66b7
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions