summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Emilian Peev <epeev@google.com> 2023-03-15 10:56:32 -0700
committer Emilian Peev <epeev@google.com> 2023-05-05 20:54:19 +0000
commitd8983d671e2bb29cc7151824afd5d72f69ce7eb7 (patch)
treec453abcaf5641cb0ff8df4626ccdf3fef51e0259 /libs/androidfw/FileStream.cpp
parent370fbcc5480009a3b58a9d41da5242bb86e9fcc1 (diff)
Camera: Always release the extension session after configuration
Since both the session 'onConfigured' callback and the initialization session callback run within the same Handler thread, it is possible for the 'onSuccess' callback to fail to execute if there is another thread the releases the extension session and quits the thread. Ensure that the extension session is released also when we have a valid capture session. Bug: 270276341 Test: atest -c -d cts/tests/camera/src/android/hardware/camera2/cts/CameraExtensionSessionTest.java Change-Id: I03fd9b2859ae8919ca89c823fed973853030bc5f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions