summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorNipun Kwatra <nkwatra@google.com>2010-08-10 17:54:11 -0700
committerNipun Kwatra <nkwatra@google.com>2010-08-10 18:57:09 -0700
commitc44cf627036f54d14438f5d003542c47d7c417cd (patch)
treece1d49131574b73f832f27cddb595b60e97565f7 /graphics/java/android/renderscript/RenderScriptGL.java
parent7d73206ab263e1114b4711912ac3eb786f91b6c5 (diff)
Call startPreview after stopping for mUseStillCameraForTimeLapse=true case.
In the case when stop is pressed after takePicture has been called but the CAMERA_MSG_COMPRESSED_IMAGE message from camera has not yet been received, preview was not getting restarted. The reason was that CameraSource::stop sets the camera listener to NULL and hence the dataCallback() function which handles the CAMERA_MSG_COMPRESSED_IMAGE message and restarts preview never got called. Change-Id: Ib8f3bb77d9eab1ed5a67798569025ea0d63d7fd4
Diffstat (limited to 'graphics/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions