android6.0 support camera flash in hal

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

android6.0 support camera flash in hal

670 次查看
yangguang
Contributor II

I use the android6.0 system, the current debugging mipi camera ov5640 flash, but open the camera application, there is  no flash options. How to open this option, such as flash on, flash off ,etc.When I use android4.3,I added the following code in the HAL layer, "      uint8_t flashAvailable = 1;   ADD_OR_SIZE(ANDROID_FLASH_INFO_AVAILABLE, &flashAvailable, 1); " camera flash option will appear in camera application auto.when i use android6.0, I also use Android4.3 method, but open the camera application ,there is not camera flash option, I would like to ask how to modify the Android6.0 HAL layer to let it support the flash option by default?

标签 (5)
0 项奖励
回复
0 回复数