forked from LiquidRemix/android_frameworks_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RESTRICT AUTOMERGE] Pass correct realCallingUid to startActivity() f…
…rom 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 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
- Loading branch information
Bryan Ferris
committed
Jun 25, 2019
1 parent
f951ac1
commit bab818f
Showing
2 changed files
with
57 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters