Pass SafeActivityOptions with actual caller for startActivityInTF
We clearCallingUid before apply the WCT, but SafeActivityOptions will
query the Binder Uid when construct. Update to pass in the actual
caller.
Flag: EXEMPT bug fix
Bug: 369103643
Test: atest WmTests:WindowOrganizerTests#
testStartActivityInTaskFragment_checkCallerPermission
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:20c568e77eae5d469cd5e594b644d8645d830dbd)
Merged-In: I873ae576de0bc4a7402c2f522b45853bce48a0c5
Change-Id: I873ae576de0bc4a7402c2f522b45853bce48a0c5
Loading
Please register or sign in to comment