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
Loading
Please register or sign in to comment