From 0978c3207e6d88fe55f999c51ec686c369a084f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thi=C3=A9baud=20Weksteen?= Date: Wed, 14 May 2025 13:16:51 +1000 Subject: [PATCH] Remove v1 compatibility version This version is deprecated, only download the latest version. Keep the array in place to easily add the next version in the future. Bug: 409884646 Test: atest NetworkSecurityUnitTests Flag: EXEMPT bug fix Change-Id: Ia367c0c796ba56a470edcbfa0bc93213c4829d3f --- .../android/server/net/ct/CertificateTransparencyService.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/networksecurity/service/src/com/android/server/net/ct/CertificateTransparencyService.java b/networksecurity/service/src/com/android/server/net/ct/CertificateTransparencyService.java index b009a4afc9..edf44f4875 100644 --- a/networksecurity/service/src/com/android/server/net/ct/CertificateTransparencyService.java +++ b/networksecurity/service/src/com/android/server/net/ct/CertificateTransparencyService.java @@ -55,10 +55,6 @@ public class CertificateTransparencyService extends ICertificateTransparencyMana SignatureVerifier signatureVerifier = new SignatureVerifier(context); Collection compatVersions = Arrays.asList( - new CompatibilityVersion( - Config.COMPATIBILITY_VERSION_V1, - Config.URL_SIGNATURE_V1, - Config.URL_LOG_LIST_V1), new CompatibilityVersion( Config.COMPATIBILITY_VERSION_V2, Config.URL_SIGNATURE_V2,