赞
踩
软件平台:Android11
硬件平台:QCS6125
默认关闭系统窗口切换默认动画,修改SettingsProvider默认配置项:
- diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml
- index c10e354535d..319362af219 100755
- --- a/packages/SettingsProvider/res/values/defaults.xml
- +++ b/packages/SettingsProvider/res/values/defaults.xml
- @@ -32,8 +32,8 @@
- <!-- Default screen brightness, from 0 to 255. 102 is 40%. -->
- <integer name="def_screen_brightness">102</integer>
- <bool name="def_screen_brightness_automatic_mode">false</bool>
- - <fraction name="def_window_animation_scale">100%</fraction>
- - <fraction name="def_window_transition_scale">100%</fraction>
- + <fraction name="def_window_animation_scale">0%</fraction>
- + <fraction name="def_window_transition_scale">0%</fraction>
- <bool name="def_haptic_feedback">false</bool>
-
- <bool name="def_bluetooth_on">true</bool>
增量编译验证即可,发现window自身动画和window间切换动画已经默认关闭。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。