Update CallerUriReadAccessValidator to use the launching package name. This is, essentially, asking the Framework whether the calling package is able to grant the permission for the URI to itself. It aligns with how the method is used by System UI in other places. This is also a more stable way to perform the check. Bug: b/435188844 Test: `sts-tradefed run sts-dynamic-develop -m CtsSecurityBulletinHostTestCases -t android.security.cts.Bug_435188844` Flag: EXEMPT CVE_FIX Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:958e33f7dff19e452e756084a2de8d883695c422 Merged-In: I287cb5a32e24d4d6cbecf65271ae5159695ab477 Change-Id: I287cb5a32e24d4d6cbecf65271ae5159695ab477
IntentResolver provides the implementation for Intent ACTION_CHOOSER
See also: ShareCompat.IntentBuilder