Is there a way to enable dark mode by default in a build? Been poking around in the Settings config files and can't seem to find where the default theme is set
Default Dark Mode
4 months later
Sebastian3000 I was also trying to find this setting and couldn't make it. I looked at the common places such as:
/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
/frameworks/base/core/res/res/values/config.xml
/device/google/raviole/raven/overlay/frameworks/base/core/res/res/values/config.xml
/packages/apps/Settings
I also couldn't find where to enable PIN scrambling by default
I asked on the chat room and nscnt gave me the file where you want to modify it. It's actually one of the files I mentioned, but under the name of night mode and not dark mode... Anyway, here is the line you want to change: