[PM] Use the originating uid from the intent if needed for V2
If the intent is from the system document app or the system downloads
provider, we can trust it to use the originating uid from it. It can
show the correct install information from the uid.
Flag: EXEMPT Bug fix
Test: atest CtsPackageInstallerCUJInstallationTestCasesV2
Test: atest CtsPackageInstallerCUJUpdateOwnerShipTestCasesV2
Test: manual. Enable Pia V2
1. Download one app via 3rd party browser
2. Uninstall the 3rd party browser
3. Start the Documentsui -> Downloads root
4. Click the APK
Bug: 419738096
Change-Id: I28fe1296d36fa1b0ca76962b892f99976aa9aeaa
Loading
Please register or sign in to comment