项目作者: hacker1024

项目描述 :
An Xposed module to stop MIUI forcing dark mode on third-party app resources.
高级语言: Java
项目地址: git://github.com/hacker1024/MIUI-Global-Dark-Mode-Disabler.git
创建时间: 2020-06-19T06:13:33Z
项目社区:https://github.com/hacker1024/MIUI-Global-Dark-Mode-Disabler

开源协议:GNU General Public License v3.0

下载


MIUI Global Dark Mode Disabler" class="reference-link"> MIUI Global Dark Mode Disabler

Since MIUI 12, MIUI enables a system flag to forcibly “convert” light app resources and assets to darker colors.
This causes graphical issue in several apps, which is why this is just a developer option in AOSP.

Unfortunately, it seems Xiaomi don’t care about third-party apps, other than the ones they’ve whitelisted to disable by default inside MIUI’s code.

Despite the setting being modifiable with an ADB command, MIUI resets the setting on boot - hence the need for this Xposed module.

This module stops MIUI forcing nonsupporting third-party apps to display darker colors.

For MIUI 12 and Android 10 only.

Take a look at the source code if you want to know what MIUI code’s hooked to achieve this - It’s fully documented.

As this was a fairly simple mod, I’ve chosen Java over Kotlin for reduced app sizes and performance overhead.

Enjoy!