From dfaf5642444d3f39ba24631690305aa7ad8a4be5 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Fri, 24 Jul 2026 07:01:50 +0200 Subject: [PATCH] Disable Android HDR: Prevents websites from detecting HDR support on Android --- build/cromite_patches_list.txt | 1 + build/patches/Disable-Android-HDR.patch | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 build/patches/Disable-Android-HDR.patch diff --git a/build/cromite_patches_list.txt b/build/cromite_patches_list.txt index 8723d814..df381ef7 100644 --- a/build/cromite_patches_list.txt +++ b/build/cromite_patches_list.txt @@ -309,6 +309,7 @@ Disable-integration-with-Gemini.patch Disable-AppRating.patch Enable-Android-DevTools-Frontend.patch Reduce-input-capability-fingerprinting-through-normalization.patch +Disable-Android-HDR.patch # temporary or wip patches Temp-disable-predictive-back-gesture.patch diff --git a/build/patches/Disable-Android-HDR.patch b/build/patches/Disable-Android-HDR.patch new file mode 100644 index 00000000..44aca847 --- /dev/null +++ b/build/patches/Disable-Android-HDR.patch @@ -0,0 +1,21 @@ +From: uazo +Date: Mon, 20 Jul 2026 06:36:17 +0000 +Subject: Disable Android HDR + +License: GPL-2.0-or-later - https://spdx.org/licenses/GPL-2.0-or-later.html +--- + ui/android/ui_android_features.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/ui/android/ui_android_features.cc b/ui/android/ui_android_features.cc +--- a/ui/android/ui_android_features.cc ++++ b/ui/android/ui_android_features.cc +@@ -8,6 +8,7 @@ + namespace ui { + + BASE_FEATURE(kAndroidHDR, base::FEATURE_ENABLED_BY_DEFAULT); ++SET_CROMITE_FEATURE_DISABLED(kAndroidHDR); + + BASE_FEATURE(kAndroidUseCorrectDisplayWorkArea, + base::FEATURE_DISABLED_BY_DEFAULT); +--