On freescale imx6 android platform, when we work on the Android stock camera apk, it‘s found that no flash setting option within it.
So I track the code, and found that, flash avaliable need to be change from default value 0 to 1, it works.
hardware\imx\mx6\libcamera2\MetadaManager.cpp // android.flash // shawnbai, yes, we have camera flash, flashAvailable 0->1 uint8_t flashAvailable = 1; ADD_OR_SIZE(ANDROID_FLASH_INFO_AVAILABLE, &flashAvailable, 1);
时间: 2024-10-24 14:07:52