commit | 1ab5f01c94be4a9a8031f60ee86584640d566907 | [log] [tgz] |
---|---|---|
author | Kwangkyu Park <kk48.park@samsung.com> | Thu Oct 19 23:39:37 2023 +0900 |
committer | Kwangkyu Park <kk48.park@samsung.com> | Thu Oct 19 23:55:05 2023 +0900 |
tree | 418b13319e96ad1b76497bd8df64d5a35d1aa09b | |
parent | b0e4f7e784256eab2b2c3dd31202482272102d49 [diff] |
Camera: Fix OutputConfiguration equality check For the non deferred configuration, equals() and hashCode() show different behavior when the number of surfaces changes. Thus, the camera device could try to create a stream using an already configured surface. This patch fixed the issue by checking the size of surface list in equals() for the non deferred configuration. Bug: 306364653 Test: CameraCTS, Manual test with OEM scenario Change-Id: Ifea113606dd3489a29bf94ec76f6f8a8a4547d16