cameraserver: Correct camera1 -> api2 shim layer handling for video stabilization.
For cases where devices support PREVIEW_STABILIZATION but not
VIDEO_STABILIZATION, map PREVIEW_STABILIZATION to the camera2 api.
For cases where both are supported, still map to VIDEO_STABILIZATION.
Bug: 254856553
Test: Make back camera on cuttlefish support only PREVIEW_STABILIZATION;
atest ExtendCameraCharacteristicsTest.java#testLegacyCameraDeviceParity
atest CameraTest.java#testStabilizationOneShotPreviewCallback
Change-Id: Iec3870557bfee36e23d92b451affd39118990b40
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Loading
Please register or sign in to comment