不是,是hal有个控制AF的宏,在这个路径:mediatek/custom/mt6572/hal/camera/camera/camera_custom_if.cpp,里面有个#define FLASHLIGHT_YUV_AF_LAMP 1,为1 就开启了触摸对焦开闪光灯功能#define FLASHLIGHT_YUV_AF_LAMP 1
MINT32 custom_GetYuvAfLampSupport(void)
{
// 0: indicates no AF lamp when touch AF
// 1: indicates AF lamp support for touch AF
return (int)FLASHLIGHT_YUV_AF_LAMP;
}