From 97dd58a071c16c31ab2ce3f29f8fa7e2db7c8b52 Mon Sep 17 00:00:00 2001 From: Alex Klyubin Date: Tue, 16 Feb 2016 12:42:37 -0800 Subject: [PATCH] Switch to production constant for v2 signing scheme ID. Bug: 25794543 Change-Id: I0e06f31ea3117c6865d18f853f99304964b323b4 --- tools/signapk/src/com/android/signapk/ApkSignerV2.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/signapk/src/com/android/signapk/ApkSignerV2.java b/tools/signapk/src/com/android/signapk/ApkSignerV2.java index ee5e72e39..46cd11ecb 100644 --- a/tools/signapk/src/com/android/signapk/ApkSignerV2.java +++ b/tools/signapk/src/com/android/signapk/ApkSignerV2.java @@ -85,8 +85,7 @@ public abstract class ApkSignerV2 { *

The attribute contains a comma-separated set of signature scheme IDs. */ public static final String SF_ATTRIBUTE_ANDROID_APK_SIGNED_NAME = "X-Android-APK-Signed"; - // TODO: Adjust the value when signing scheme finalized. - public static final String SF_ATTRIBUTE_ANDROID_APK_SIGNED_VALUE = "1234567890"; + public static final String SF_ATTRIBUTE_ANDROID_APK_SIGNED_VALUE = "2"; private static final int CONTENT_DIGEST_CHUNKED_SHA256 = 0; private static final int CONTENT_DIGEST_CHUNKED_SHA512 = 1;