Android 10-13,默认屏幕亮度80%或100%

80%:

/vendor/mediatek/proprietary/packages/overlay/vendor/FrameworkResOverlay/res/values/config.xml

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

<!-- Whether a software navigation bar should be shown.-->

<bool name="config_showNavigationBar">true</bool>

<!-- Minimum screen brightness setting allowed by power manager.

Set this to 0.0 to allow screen to go to minimal brightness.-->

<item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>

<!-- Maximum screen brightness allowed by the power manager.

Set this to 1.0 for maximum brightness range.-->

<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>

<!-- Default screen brightness setting set.

Set this to 0.4 for Default brightness Float [0.35 == 80%]-->

<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.35</item>

<!-- default color mode -->

<integer-array name="config_availableColorModes">

<item>-1</item>

</integer-array>

</resources>

100%:

/vendor/mediatek/proprietary/packages/overlay/vendor/FrameworkResOverlay/res/values/config.xml

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

<!-- Whether a software navigation bar should be shown.-->

<bool name="config_showNavigationBar">true</bool>

<!-- Minimum screen brightness setting allowed by power manager.

Set this to 0.0 to allow screen to go to minimal brightness.-->

<item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.0</item>

<!-- Maximum screen brightness allowed by the power manager.

Set this to 1.0 for maximum brightness range.-->

<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>

<!-- Default screen brightness setting set.

Set this to 0.4 for Default brightness Float [0.35 == 80%]-->

<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">1.0</item>

<!-- default color mode -->

<integer-array name="config_availableColorModes">

<item>-1</item>

</integer-array>

</resources>

framework/base/core/res/res/valus/config.xml 这里面的几个修改没有用的

/vendor/mediatek/proprietary/packages/apps/SettingsProvider/res/values/freeme_defaults.xml修改默认亮度也是没用的

相关推荐
Bro_cat1 分钟前
JavaEE 前后端交互与数据库连接练习
java·服务器·数据库·java-ee·tomcat·交互
ybq195133454315 分钟前
javaEE-文件操作和IO-文件
java·java-ee
ybq195133454318 分钟前
javaEE-多线程进阶-JUC的常见类
java·开发语言
blammmp9 分钟前
JavaEE 初阶:线程(2)
java·开发语言
正在绘制中23 分钟前
Java重要面试名词整理(二十):Gateway&SkyWalking
java·面试·gateway·skywalking
qq_4585638126 分钟前
通过excel导入数据
java·excel
南─32 分钟前
深入解析 Redisson 分布式限流器 RRateLimiter 的原理与实现
java·分布式·redisson
m0_7482405437 分钟前
Springboot 3项目整合Knife4j接口文档(接口分组详细教程)
java·spring boot·后端
阿松のblog40 分钟前
蓝桥杯JAVA--003
java·职场和发展·蓝桥杯
bst@微胖子43 分钟前
Python实现接口签名调用
android·java·python