commit | 527748abf04c0060894fd7aace54959a2c343435 | [log] [tgz] |
---|---|---|
author | Zhijun He <zhijunhe@google.com> | Sun Sep 15 21:06:10 2013 -0700 |
committer | Zhijun He <zhijunhe@google.com> | Mon Sep 16 09:23:58 2013 -0700 |
tree | 667faa9827035f34685c0525ccac1289c6d844f9 | |
parent | 66281c3a5d7eea486ddc6ad30088ba92956fd4fd [diff] |
Camera: setCallBackWindow only if callback surface is used Calling setCallBackWindow without checking the previewCallbackSurface could make the stream to be deleted during callback stream operation, which is bad because the preview is still active and the delete fails. Bug: 10730496 Change-Id: I8addac25e5aa7901bf200d730c749bee2c088090