问题描述:
junit.framework.AssertionFailedError: The static info key 'android.sensor.info.exposureTimeRange' Min value 111672 is too large, set to maximal legal value 100000
问题解析:
exposureTimeRange的最小值太大,设置为最大合法值100000
代码路径:
QCOM/platform/vendor/qcom-proprietary/camx / src/core/chi/camxchicontext.cpp
解决方法 :
CamxResult ChiContext::InitializeStaticMetadataPool(
RangeINT64 timeRange;
timeRange.min = pCameraInfo->pSensorCaps->minExposureTime;
timeRange.max = pCameraInfo->pSensorCaps->maxExposureTime;
#if defined(ODM_EDIT)
/*fix cts test item testFlashControl*/
if (timeRange.min > 100000)
{
timeRange.min = 100000;
}
#endif