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

Skip to content
Commit 26ccedcd authored by Avichal Rakesh's avatar Avichal Rakesh
Browse files

Camera2: Document exception when SessionConfiguration is not supported

CameraDeviceSetup#getSessionCharacteristics currently has undefined
behavior if the SessionConfiguration is not supported by the HAL.

This patch documents that cameraservice will raise an
IllegalArgumentException if the passed SessionConfiguration is
not supported by the HAL.

Bug: 327008530
Test: atest android.hardware.camera2.cts.CameraDeviceSetupTest passes
Change-Id: Id1c6675692954cf383d3c83ec203df5ba0afe1ed
parent 316f8d2f
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