commit | a6c8d0708929fda05b4fe24c43f3939b2c30ece2 | [log] [tgz] |
---|---|---|
author | Jan Sebechlebsky <jsebechlebsky@google.com> | Wed Oct 25 10:35:13 2023 +0200 |
committer | Jan Sebechlebsky <jsebechlebsky@google.com> | Fri Oct 27 14:20:40 2023 +0200 |
tree | b4ca503938fd66e91275aa255b6e67cb5849eec0 | |
parent | 0f40c5980327bed12b9ed0cd39628491f6df05b4 [diff] |
Dispose of obsolete streams when the session is re-configured. This follows the documented AIDL requirements how to handle repeated configure calls. Clearing the stream map will also free / unmap all referenced buffers. Bug: 301023410 Test: atest virtual_camera_tests Test: OpenCamera Change-Id: I8deab62562b8e2a5973ebfe2bcc5399de1d056da