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).
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
0 - MODE_NIGHT_AUTO
|
||||
1 - MODE_NIGHT_NO
|
||||
2 - MODE_NIGHT_YES -->
|
||||
<integer name="config_defaultThemeMode">2</integer>
|
||||
<integer name="config_defaultNightMode">2</integer>
|
||||
|
||||
<!-- Package name of the default browser application. -->
|
||||
<string name="config_defaultBrowser" translatable="false">com.vivaldi.browser</string>
|
||||
|
||||
Reference in New Issue
Block a user