Disable Android HDR: Prevents websites from detecting HDR support on Android
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
From: uazo <uazo@users.noreply.github.com>
|
||||
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);
|
||||
--
|
||||
Reference in New Issue
Block a user