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修改默认亮度也是没用的

相关推荐
徐*红17 分钟前
java 线程池
java·开发语言
尚学教辅学习资料18 分钟前
基于SSM的养老院管理系统+LW示例参考
java·开发语言·java毕设·养老院
2401_8576363918 分钟前
计算机课程管理平台:Spring Boot与工程认证的结合
java·spring boot·后端
1 9 J20 分钟前
Java 上机实践4(类与对象)
java·开发语言·算法
Code apprenticeship20 分钟前
Java面试题(2)
java·开发语言
憨子周1 小时前
2M的带宽怎么怎么设置tcp滑动窗口以及连接池
java·网络·网络协议·tcp/ip
SRC_BLUE_171 小时前
SQLI LABS | Less-39 GET-Stacked Query Injection-Intiger Based
android·网络安全·adb·less
霖雨3 小时前
使用Visual Studio Code 快速新建Net项目
java·ide·windows·vscode·编辑器
SRY122404193 小时前
javaSE面试题
java·开发语言·面试
Fiercezm3 小时前
JUC学习
java