Skip to content
Commit 84d9ebd5 authored by Michal Karpinski's avatar Michal Karpinski
Browse files

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.
Also, PendingIntentRecord#sendInner() now passes that information
to startActivitiesInPackage() as well.

Bug: 123013720
Test: atest WmTests:ActivityStarterTests
Change-Id: Ifdfee0fb2dda2377f6afa24440a4dd15f5586f4d
parent 50d11bf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment