Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 337da697 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

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: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 037845be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment