From 84e2a5dffd806ba9d10af2609b2a68be0d52921c Mon Sep 17 00:00:00 2001
From: oxmc <67136658+oxmc@users.noreply.github.com>
Date: Fri, 17 Jul 2026 20:04:18 -0700
Subject: [PATCH] overlay: use real config_defaultNightMode for dark-by-default
config_defaultThemeMode is not a framework-res resource (nothing declares
or reads it), so it was a no-op. Use the actual AOSP key
config_defaultNightMode=2 (MODE_NIGHT_YES) here in the PawletOS framework
overlay, which now owns the dark-by-default. Removed the duplicate from
AndroidRpiOverlay in a matching pawlet_rpi_common change; the Pawlet
overlay (priority 1) layers above the RPi base (priority 0).
---
overlay/frameworks/base/core/res/res/values/config.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 9271337..f923249 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -36,7 +36,7 @@
0 - MODE_NIGHT_AUTO
1 - MODE_NIGHT_NO
2 - MODE_NIGHT_YES -->
- 2
+ 2
com.vivaldi.browser