Loading
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