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修改默认亮度也是没用的
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!