Files
cromite/build/patches/Disable-idle-detection.patch
T
2023-12-01 16:24:35 +01:00

37 lines
1.5 KiB
Diff

From: csagan5 <32685696+csagan5@users.noreply.github.com>
Date: Sat, 19 Feb 2022 12:01:33 +0100
Subject: Disable idle detection
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
---
.../common/content_features_cc/Disable-idle-detection.inc | 1 +
.../blink/renderer/platform/runtime_enabled_features.json5 | 7 +++----
2 files changed, 4 insertions(+), 4 deletions(-)
create mode 100644 cromite_flags/content/public/common/content_features_cc/Disable-idle-detection.inc
diff --git a/cromite_flags/content/public/common/content_features_cc/Disable-idle-detection.inc b/cromite_flags/content/public/common/content_features_cc/Disable-idle-detection.inc
new file mode 100644
--- /dev/null
+++ b/cromite_flags/content/public/common/content_features_cc/Disable-idle-detection.inc
@@ -0,0 +1 @@
+SET_CROMITE_FEATURE_DISABLED(kIdleDetection);
diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
@@ -2157,10 +2157,9 @@
status: "experimental",
},
{
- name: "IdleDetection",
- public: true,
- status: "stable",
- base_feature: "none",
+ name: "IdleDetection", // disabled
+ public: true, // by
+ base_feature: "none", // default
},
{
name: "ImplicitRootScroller",
--
2.25.1