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

相关推荐
s***w11211 分钟前
SpringMVC新版本踩坑[已解决]
java
老李头喽16 分钟前
走进单元测试
java·单元测试
就叫飞六吧16 分钟前
Spring MVC 接口命名为什么会有 *.do/actions等身影?
java·spring·mvc
葡萄成熟时 !21 分钟前
黑马学生管理系统
java·开发语言
沐浴露z36 分钟前
为什么使用SpringAI时通常用Builder来创建对象?详解 【Builder模式】和【直接 new】的区别
java·python·建造者模式
阿杰真不会敲代码38 分钟前
Filter与Interceptor深度解析:分清这两个“拦截器”,面试不再掉坑
java·spring boot·面试
g***78911 小时前
鸿蒙NEXT(五):鸿蒙版React Native架构浅析
android·前端·后端
带刺的坐椅1 小时前
Solon AI 开发学习6 - chat - 两种 http 流式输入输出
java·ai·solon
客梦1 小时前
Java 道路信息系统
java·笔记