Camera: Handle interaction between ZoomRatioMapper and zoom override
When figuring out the zoomRatio set by the application for a particular
capture, we should't use the frameNumber for the corresponding request.
Use the frameNumber of the newer request overriding the current request
instead.
Test: Camera CTS
Bug: 239822823
Change-Id: Ie8973698ec68608ddc4be9ed4d2ed2d06b9da268
diff --git a/camera/ndk/impl/ACameraMetadata.cpp b/camera/ndk/impl/ACameraMetadata.cpp
index 936943c..4995dc4 100644
--- a/camera/ndk/impl/ACameraMetadata.cpp
+++ b/camera/ndk/impl/ACameraMetadata.cpp
@@ -587,6 +587,7 @@
ANDROID_CONTROL_SCENE_MODE_OVERRIDES,
ANDROID_CONTROL_AE_PRECAPTURE_ID,
ANDROID_CONTROL_AF_TRIGGER_ID,
+ ANDROID_CONTROL_SETTINGS_OVERRIDING_FRAME_NUMBER,
ANDROID_DEMOSAIC_MODE,
ANDROID_EDGE_STRENGTH,
ANDROID_FLASH_FIRING_POWER,