mtk版本中,系统默认自带了双击power键打开相机的功能。
具体配置在AOSP/frameworks/base / core/res/res/values/config.xml路径下。
<!-- 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>
true: 双击可以打开相机
false:双击不会打开相机
本文介绍了MTK版本中默认配置的双击power键启动相机功能,并指出该功能可以通过修改AOSP/frameworks/base/core/res/res/values/config.xml文件中的config_cameraDoubleTapPowerGestureEnabled参数进行开启或关闭。
957

被折叠的 条评论
为什么被折叠?



