commit | 26ccedcd851ed9b46c336b14b29a653135152fb3 | [log] [tgz] |
---|---|---|
author | Avichal Rakesh <arakesh@google.com> | Thu Apr 04 17:23:19 2024 -0700 |
committer | Avichal Rakesh <arakesh@google.com> | Tue Apr 09 13:10:37 2024 -0700 |
tree | a47a55966ce0e32c8935e36a4df86573e98a19c1 | |
parent | 316f8d2f4f7efb0fa94e98b6f275e85508810428 [diff] |
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