commit | 5ed8537b6600fbcee82755f8bff4b80d8fea96cb | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Nov 06 09:32:49 2019 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Tue Nov 12 09:03:07 2019 +0000 |
tree | eed4266f20ed70ed727659145dcea4e7bd13706a | |
parent | 6f7e2d5674c8fcd44e5421c7915349b5dc59ad7f [diff] |
Add originatingPackageName to InstallSource. This is mostly useful in cases where an install is done via PackageInstaller UI so we can tell the real source of the install. We already pass the originating UID to the verifier, but now we persist it so it is available to malware scanners etc. Bug: 134746019 Test: atest CtsPackageInstallTestCases PackageManagerTests Test: Manual install via PackageInstaller + inspect outputs Change-Id: I40340ddbc8a2e23a047508e717d48b4b4b686e1f