summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorBryan Ferris <bferris@google.com>2019-05-21 12:38:19 -0700
committerBryan Ferris <bferris@google.com>2019-06-25 22:43:38 +0000
commit13a804ee271845b2ab95183a5c0d0c5a02bdefa2 (patch)
tree2e06c06f0c635c5267d8d1a6d60e06547829cf3c /startop/scripts/lib/cmd_utils.py
parent46c0bc94074ba7a72f8146c0e964d7353ff15df4 (diff)
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() if provided by PendingIntentRecord#sendInner()
Previously we'd ignore realCallingPid and realCallingUid that PendingIntentRecord#sendInner() provided to startActivityInPackage(). Now we correctly pass it on, preserving past behaviour if none provided. Test: manual; we added logging statements to check the value of realCallingUid in startActivitiesMayWait when launching the calendar app from the calendar widget and verified that it was the calendar uid rather than the system uid. Bug: 123013720 Change-Id: I0ef42c2f89b537a720f1ad5aefac756b0ccac52e Merged-In: I0ef42c2f89b537a720f1ad5aefac756b0ccac52e
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions