| commit | a3e6ce2ef016800c6bc6d69beb41aa40a5c1d0ea | [log] [tgz] |
|---|---|---|
| author | Alan Stokes <alanstokes@google.com> | Tue Mar 31 10:17:40 2020 +0100 |
| committer | Alan Stokes <alanstokes@google.com> | Wed Apr 01 15:45:22 2020 +0100 |
| tree | 8e857f6fcd185701801a2a355d3c571080a416fc | |
| parent | 10c0719be30d6035c8f0fe2fd9cd877cd0ee29cd [diff] |
Add tests for InstallSourceInfo. Check we get the expected installer & initiator for intent- and session-initiated installs. (Originator is always null, because we can't read it without INSTALL_PACKAGES permission.) Also make class name match file name for ExternalSourcesTestAppOpAllowed so it can be run via atest. Bug: 152375595 Test: atest InstallSourceInfoTest Test: atest CtsPackageInstallTestCases Change-Id: I6a96f65cf932531d2f88b49f7ff6dc447b1cf9ae