commit | ab7b1f3eae33cd86b524a427c2efe67b615c2c45 | [log] [tgz] |
---|---|---|
author | Austin Borger <borgera@google.com> | Mon Dec 13 23:50:25 2021 +0000 |
committer | Austin Borger <borgera@google.com> | Wed Jan 05 21:09:04 2022 +0000 |
tree | 819a1aec021f869e73bd6045cb4337f03d248976 | |
parent | 0c9eee2e5a141f3146ee7841825dc23a8d168040 [diff] [blame] |
cameraservice_test: Add ZoomRatioTest to the host build. ZoomRatioTest requires getArrayWidthAndHeight, which has been added in this patch to SessionConfigurationUtilsHost.cpp. Bug: 207411352 Test: Ran test on gLinux. Change-Id: Ie1cd954cc49ab0f3bb80bd2fbe82397689c25dd2
diff --git a/services/camera/libcameraservice/device3/ZoomRatioMapper.cpp b/services/camera/libcameraservice/device3/ZoomRatioMapper.cpp index 7ec0956..27b00c9 100644 --- a/services/camera/libcameraservice/device3/ZoomRatioMapper.cpp +++ b/services/camera/libcameraservice/device3/ZoomRatioMapper.cpp
@@ -20,7 +20,7 @@ #include <algorithm> #include "device3/ZoomRatioMapper.h" -#include "utils/SessionConfigurationUtils.h" +#include "utils/SessionConfigurationUtilsHost.h" namespace android {