[PM] Use the originating uid from the intent if needed
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 CtsPackageInstallerCUJInstallationTestCases
Test: atest CtsPackageInstallerCUJUpdateOwnerShipTestCases
Test: manual
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: Ic92fc3c4ffc6453ca02852edefaa8b1358962f2c
Loading
Please register or sign in to comment