diff options
author | Stan Rokita <srok@google.com> | 2020-01-15 08:12:45 -0800 |
---|---|---|
committer | Stan Rokita <srok@google.com> | 2020-01-15 08:29:17 -0800 |
commit | bc0b20ad1f0b63a12f8f56ca5e53055bddd2680c (patch) | |
tree | 5ae56a22792df2e4868ecd840a85ec6da6957f51 /camera/common/1.0/default/CameraModule.cpp | |
parent | 008e2862d26d4fd3090a4820695a076700806677 (diff) |
Decrement size of pending write queue by correct amount
The pending write events vector is destructed before using its size to
decrement the number of events on the pending write events queue which
may cause the value decrement by 0 instead of the actual number of
events removed.
Bug: 147686560
Test: Build and load onto device with fake subhals
Change-Id: I7b6c6231eacfa89b0dd55bc405b235d34be5ff46
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions