diff options
| author | 2023-10-31 02:34:03 +0000 | |
|---|---|---|
| committer | 2023-10-31 16:22:47 +0000 | |
| commit | fa8b6125600ee765360c354930c82af99aecb707 (patch) | |
| tree | afe57bfd5e4a55672dab2a073ec6bdc5bea87758 /libs/androidfw/FileStream.cpp | |
| parent | 3a687e931c76293b8c2da830d4cdfe709d2b5fbc (diff) | |
Recalculate real caller if caller results in block
When the caller==realcaller while sending an own PendingIntent (which
should be avoided, but it happens) and the caller does not allow the PI
start, calculate if the real caller is allowed (which is possible,
because for a PI the callerApp is null and the realCallerApp is
calculated).
Test: atest CtsPackageManagerTestCases:android.content.pm.cts.PackageManagerTest#testGetLaunchIntentSenderForPackage ConnectivityCoverageTests:android.net.connectivity.com.android.server.connectivity.NetworkNotificationManagerTest#testNotifyNoInternet_asDialog
Fixes: 307911244
Fixes: 307907820
Fixes: 308163300
Change-Id: I9cd0d5022c6302a2a802749f009f6f2372f8bb01
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions