diff options
author | Kevin Rocard <krocard@google.com> | 2018-06-21 14:10:58 -0700 |
---|---|---|
committer | Keun Soo Yim <yim@google.com> | 2018-08-29 10:29:07 -0700 |
commit | eb2b0093cf5ffb2582d1c20a813f26538a66a1f1 (patch) | |
tree | 2cb1853962467a71150cb0c80971ff1ea46df206 /camera/common/1.0/default/CameraModule.cpp | |
parent | e7300721a04b19057cd043205159315616062153 (diff) |
Allow getCapturePosition to return 0 frames for unprepared streams
For device supporting getCapturePosition,
VTS only allowed unprepared stream to return INVALID_STATE.
Now also allow for the stream to return 0 frames similarly to the other
non started states.
Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target
Bug: 110367728
Cherry-piked from: d01dc3edac9e92981e7ae419d0e7622f753acf94
Merged-In: Ibdf8df8cb8809e98c40a50035371df6893fe4da4
Change-Id: Ibdf8df8cb8809e98c40a50035371df6893fe4da4
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit 6c9c6e62c193461ed0de4666d0995631ba39e009)
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions