summaryrefslogtreecommitdiffstats
path: root/services/soundtrigger
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2015-05-27 14:46:23 -0700
committerEino-Ville Talvala <etalvala@google.com>2015-05-27 17:44:25 -0700
commite74c228e83906e0e317c4eb6eac20815ff839c04 (patch)
treea54eb6dadada7fc4ca3fcd6013c2fc50315a8bac /services/soundtrigger
parentad9cb8b88e4f8face23f01d8dc89fa769dacb50f (diff)
downloadframeworks_av-e74c228e83906e0e317c4eb6eac20815ff839c04.zip
frameworks_av-e74c228e83906e0e317c4eb6eac20815ff839c04.tar.gz
frameworks_av-e74c228e83906e0e317c4eb6eac20815ff839c04.tar.bz2
Camera3Device: Close hole in prepare in-use stream check
There's a narrow window in which a capture request is neither in the request queue or handed off to the HAL, which can be expanded to some size if buffers have to be allocated. During this window, the prepare() method will not correctly notice that a stream should be considered in use. Add a member to contain the current request being processed, and check against it in prepare as well. Change-Id: I3a198d617f5feee0a3332af4b4439f24eda28ea3
Diffstat (limited to 'services/soundtrigger')
0 files changed, 0 insertions, 0 deletions