Android13修改一些默认设置
platform:RK3588
1.导航栏选择手势方式
device/rockchip/rk3588 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -61,7 +61,10 @@ 0: 3 button mode (back, home, overview buttons) 1: 2 button mode (back, home buttons + swipe up for overview) 2: gestures only for back, home and overview --> - <integer name="config_navBarInteractionMode">0</integer> + <integer name="config_navBarInteractionMode">2</integer>
2.快速打开相机默认关闭
device/rockchip/rk3588 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -63,5 +63,8 @@ 2: gestures only for back, home and overview --> <integer name="config_navBarInteractionMode">0</integer> <bool name="config_swipe_up_gesture_setting_available">true</bool> + <!-- Allow the gesture to double tap the power button twice to start the camera while the device + is non-interactive. --> + <bool name="config_cameraDoubleTapPowerGestureEnabled">false</bool> </resources>