commit | c5a485245169c1da02c4a5bfb80876cff68882eb | [log] [tgz] |
---|---|---|
author | Ari Hausman-Cohen <arihc@google.com> | Wed Nov 16 10:53:52 2016 -0800 |
committer | Ari Hausman-Cohen <arihc@google.com> | Mon Nov 21 17:17:29 2016 -0800 |
tree | aedff59b84fb8593fb430767bbf3d1ca0c22143a | |
parent | ad6fe2b033997ab0401b0a519b18cea6e957dac0 [diff] [blame] |
Implement flushing and improve request tracking. BUG: https://b/29937783, https://b/32941326 TEST: unit tests pass, fixes 8 failing cts tests Change-Id: Idc390bdc1e51ba2bdbda91d90acc459a09a5f174
diff --git a/modules/camera/3_4/v4l2_gralloc.cpp b/modules/camera/3_4/v4l2_gralloc.cpp index 0b093ea..7da3c4e 100644 --- a/modules/camera/3_4/v4l2_gralloc.cpp +++ b/modules/camera/3_4/v4l2_gralloc.cpp
@@ -321,6 +321,7 @@ // The BufferData entry is always dynamically allocated in lock(). delete entry.second; } + mBufferMap.clear(); // If any unlock failed, return error. if (failed) {