diff options
author | Michal Karpinski <mkarpinski@google.com> | 2018-11-29 16:22:34 +0000 |
---|---|---|
committer | Michal Karpinski <mkarpinski@google.com> | 2018-11-29 17:39:35 +0000 |
commit | 0ad4e2fd59561ca5674a2b27068d0f0715c3a1ee (patch) | |
tree | 1a848837724660cacb1058e92fc7e2bb06157ef3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8dac427f33758b1051f451f4f428a5194060ac31 (diff) |
Allow background activity starts if realCallingUid is in
the foreground
Most notably adds support for:
- shortcuts (not PendingIntent-based, but realCallingUid is launcher,
which is foreground at the time of clicking)
- notifications, slices, actions and widgets (but only those that
are based on PendingIntent.getActivity() - trampolines are not yet
supported)
Note: this currently also allows PendingIntent-based starts for many
use cases where it's a persistent system process calling send(), but
we won't be allowing them anymore in forthcoming CLs (most notably
the AlarmManager use cases).
Bug: 110956953
Test: atest WmTests:ActivityStarterTests
Test: manual
Change-Id: I3c9de8cbe76bef5cc99d721536e19bb39b03405f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions