commit | 5090c73caee76c3af27c58a7cd887178001b06ff | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Thu Jul 20 16:05:29 2017 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Fri Jul 21 10:32:22 2017 -0700 |
tree | d13846fc6999e4ad63130b35d6da8b07c0de34a1 | |
parent | 57cd4032c0d24056ac6a4a0776094a6f9b371676 [diff] |
Camera: fix race in disconnect and deleteStream Check and return buffers to just deleted streams. Also disallow deleteStream when camera runs into error to simplify the stream lifecycle when error happens. Test: CTS, manual tests Bug: 63863140 Change-Id: I476737442041aebd393ec05998969d959cda0228