Modern Apps git

MAOS.git

Public
git clone https://git.maproj.org/MAOS.git
main ▾

MAOS.git / patches / packages_modules_Connectivity_certificate_transparency.patch

packages_modules_Connectivity_certificate_transparency.patch16 lines · 966 BRaw
1diff --git a/networksecurity/service/src/com/android/server/net/ct/Config.java b/networksecurity/service/src/com/android/server/net/ct/Config.java
2index c252d0bd2d..3aed2da5a0 100644
3--- a/networksecurity/service/src/com/android/server/net/ct/Config.java
4+++ b/networksecurity/service/src/com/android/server/net/ct/Config.java
5@@ -37,7 +37,10 @@ final class Config {
6 return "https://www.gstatic.com/android/certificate_transparency/";
7 }
8 // VAL_OFF is handled separately
9- return "https://gstatic.grapheneos.org/android/certificate_transparency/";
10+ // MAOS: self-hosted mirror on the static R2 bucket (static.maproj.org),
11+ // same /android/certificate_transparency/ path layout as the GrapheneOS
12+ // mirror it replaces. The VAL_STANDARD (Google) branch above is untouched.
13+ return "https://static.maproj.org/android/certificate_transparency/";
14 }
15
16 static String getCommonBaseUrlPart() {