LeOS-GSI/patches/leos/platform_vendor_lineage/0006-Revert-overlay-Default...

34 lines
1.4 KiB
Diff
Raw Normal View History

2023-12-16 09:20:57 +01:00
From 93bb4ee9008ec38333d38118ae27a041b70b6125 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Sun, 24 Sep 2023 16:13:24 +0200
Subject: [PATCH] 0006-Revert-overlay-Default-to-night-mode
Change-Id: Ib8a1ab02c003bf171046d5746d4a46d68daee2e5
---
.../common/frameworks/base/core/res/res/values/config.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml
index ec57bcd9..382cefeb 100644
--- a/overlay/common/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -146,7 +146,15 @@
<!-- Whether this device is supporting the microphone toggle -->
<bool name="config_supportsMicToggle">true</bool>
<!-- Whether this device is supporting the camera toggle -->
+
<bool name="config_supportsCamToggle">true</bool>
+ <!-- Control the default night mode to use when there is no other mode override set.
+ One of the following values (see UiModeManager.java):
+ 0 - MODE_NIGHT_AUTO
+ 1 - MODE_NIGHT_NO
+ 2 - MODE_NIGHT_YES
+ -->
+ <integer name="config_defaultNightMode">2</integer>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
--
2.34.1