commit | e12cfda75f99cd6393b398ce6a0b2187b4657619 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Tue Jun 30 15:42:29 2020 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Tue Jun 30 15:51:49 2020 +0100 |
tree | 4d313c51c301d0c41b2fc386e9ffa59a1842c6ae | |
parent | dccddad314f86df20a3e895f122ec00f9f63b9f1 [diff] |
Don't allow shell to spoof initiating package name. This preserves the ability to override the installer package name (installer of record). But it prevents overriding the initiating package name (real installing package) which should always be null for an adb installed package. Bug: 160224791 Test: manual Test: atest PackageManagerTests PackageVerifierTest Change-Id: I586b524d11dab075034ca05a87fac819cb99b61b