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 commit 20c568e7)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b9fcaac0c8ce28a6a5aa8ddd10cbb4e3d91e9734)
Merged-In: I873ae576de0bc4a7402c2f522b45853bce48a0c5
Change-Id: I873ae576de0bc4a7402c2f522b45853bce48a0c5
Loading
Please register or sign in to comment