commit | 344dfad921760d2aed84c0ea5918fab82d059c42 | [log] [tgz] |
---|---|---|
author | Angus Kong <shkong@google.com> | Tue Nov 01 20:47:49 2011 +0800 |
committer | Angus Kong <shkong@google.com> | Tue Nov 01 20:47:49 2011 +0800 |
tree | 31ad9f2226b4a26e7b8e9d721b563e07afac009d | |
parent | 263e29498a2d03d7621476cb6ee6febdbd065572 [diff] |
Change preview callback to one-shot version. The preview callback might be called multiple times. Each time the callback is called, camera is released. The callback might be called again since there is still frame available before the camera is connected, the test crashes. bug:5534460 Change-Id: If51a6cb6c6e4bf68207c3559ca5dbf54bea01ad8