Android 7.1.2 Release 39 (5787804)
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() from startActivityInPackage
Previously startActivity would assume that the system was the calling user when
startActivityInPackage was called. Now the uid of the calling application is
forwarded by the system.
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.
(cherry picked from commit 216f65bf60a9fb6f3a495d083e5fbb54ae2a9f66)
2 files changed