diff options
author | 2023-10-19 23:39:37 +0900 | |
---|---|---|
committer | 2023-10-19 23:55:05 +0900 | |
commit | 1ab5f01c94be4a9a8031f60ee86584640d566907 (patch) | |
tree | 418b13319e96ad1b76497bd8df64d5a35d1aa09b /tools/dump-coverage/Android.bp | |
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
Diffstat (limited to 'tools/dump-coverage/Android.bp')
0 files changed, 0 insertions, 0 deletions