diff options
| author | 2023-03-15 10:56:32 -0700 | |
|---|---|---|
| committer | 2023-05-05 20:54:19 +0000 | |
| commit | d8983d671e2bb29cc7151824afd5d72f69ce7eb7 (patch) | |
| tree | c453abcaf5641cb0ff8df4626ccdf3fef51e0259 /libs/androidfw/FileStream.cpp | |
| parent | 370fbcc5480009a3b58a9d41da5242bb86e9fcc1 (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