OSDN Git Service

Require APK Signature Scheme v2 for ephemeral APKs
authorAlex Klyubin <klyubin@google.com>
Wed, 4 Jan 2017 19:28:47 +0000 (11:28 -0800)
committerAlex Klyubin <klyubin@google.com>
Wed, 4 Jan 2017 19:28:47 +0000 (11:28 -0800)
commitabbc2badf5b8169f62fd725866c902f5b51b4cd5
tree81d49abfbe5e6fea7d489b6b00a808ba14e635f4
parenta5e50e2612fefd0c50595445dd4f2a68cfa33377
Require APK Signature Scheme v2 for ephemeral APKs

This makes Package Manager require APK Signature Scheme v2 signatures
for ephemeral APKs. This part of the effort to deprecate the v1
signature scheme based on JAR signing.

Test: cts-tradefed run singleCommand cts --skip-device-info --skip-preconditions --skip-connectivity-check --abi arm64-v8a --module CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest
Bug: 33700225
Change-Id: I3b408487c07085c0a7924d3eca495bdcb344b32d
core/java/android/content/pm/PackageParser.java