Commits
zhang sanshan committed 8f3c60bd3cf
MA-16835 [Android] android.hardware.camera2.cts.StaticMetadataTest#testHwSupportedLevel android.hardware.camera2.cts.StaticMetadataTest#testHwSupportedLevel fail: java.lang.Exception: Test faile d for camera 0: Active array size or cropped active array size and max JPEG size should be simila r: rects are not similar enough; expected (2592x1458), actual (1920x1080), error percent (0.03), reason: too wide croppedSensorSize is the data of width/height calculated base on mActiveArrayWidth/mActiveArrayHeight by the ratis of actual size. If the gap between croppedSensorSize and actually size is larger than 0.03, it will report error Change-Id: I0bd025a9ed24273ee2e195475443bd80810943e9 Signed-off-by: zhang sanshan <pete.zhang@nxp.com> Reviewed-on: http://androidsource.ap.freescale.net/project/11842 Reviewed-by: fang hui <hui.fang@nxp.com>