diff options
| author | Michal Karpinski <mkarpinski@google.com> | 2018-12-10 17:51:42 +0000 |
|---|---|---|
| committer | Michal Karpinski <mkarpinski@google.com> | 2019-01-03 12:26:43 +0000 |
| commit | ac116df5181b6bf82b501c2141f65633a935d9f0 (patch) | |
| tree | 1284a922cb217b9dfa325457e8828d68eda9e58e /rs/java/android/renderscript/RenderScriptCacheDir.java | |
| parent | 67b5e2ae1af0a3ce036d9cb8288e683a6ff86ccb (diff) | |
Block activity starts from background when realCallingUid is
a persistent system process and the start wasn't explicitly
whitelisted by the sender
Also, adds mechanism to temporary whitelist processes when
broadcast-based PendingIntent was whitelisted, so that
activities can be opened for the duration of the broadcast
being processed.
For now, all this is only wired for notifications.
Note: those whitelists are separate - only UI elements like
notifications will leverage both in order to support trampolines.
Other system-based PendingIntent senders should only use the
activity-based whitelist when they want an activity to be opened
from background.
Bug: 110956953
Test: atest WmTests:ActivityStarterTests
Test: manual with Play notifications that are known
for doing trampolines
Change-Id: Ibab91cdbe7afc0aed29d430dd41327272020925b
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions
