commit | 202c305711bf1e8b0ba902e6fd38aaed6460a40f | [log] [tgz] |
---|---|---|
author | Achim Thesmann <achim@google.com> | Wed Dec 06 00:18:54 2023 +0000 |
committer | Achim Thesmann <achim@google.com> | Thu Dec 07 21:57:55 2023 +0000 |
tree | 133fd1c1cddebd5ad0d6ce64990946d4ab16c474 | |
parent | 6a4dedfaf60ea053d0a9b6ef53c2ff858f0e2335 [diff] |
Grant BAL privileges when starting for result When an app starts an Activity for a result (e.g. using Activity.startIntentSenderForResult) and passes in a valid (>=0) resultCode, we consider this as an implicit opt-in to start that Activity from the background using the the sender's privileges. Test: atest BackgroundActivityLaunchTest Bug: 314033453 Change-Id: I8593f13dc82a1d23b2ece7cf51fd8b7247dc1b48