diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-07-11 05:42:20 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-07-11 07:39:45 +0800 |
commit | 4626825c2f52c2875735b34e84301cf759c2d571 (patch) | |
tree | 85d5a3678c354b5c4a7dd2747ab85390cbd1b6f0 /self-extractors/generate-packages.sh | |
parent | c7b08ce83e0fc255ca785788e2cac827ef88dbda (diff) | |
download | device_samsung_crespo-4626825c2f52c2875735b34e84301cf759c2d571.zip device_samsung_crespo-4626825c2f52c2875735b34e84301cf759c2d571.tar.gz device_samsung_crespo-4626825c2f52c2875735b34e84301cf759c2d571.tar.bz2 |
Fix black preview in Goggles.
Goggles uses the following call sequence and that should be valid.
1. setPreviewCallback
2. startPreview
3. setPreviewDisplay
The problem is preview was stopped in setPreviewWindow.
No matter CAMERA_MSG_PREVIEW_FRAME or CAMERA_MSG_VIDEO_FRAME
is enabled or not, defer the startPreview if preview window is
not set.
Change-Id: I332a6393f9923a9a1910e53e8da3b2783bfabff7
Diffstat (limited to 'self-extractors/generate-packages.sh')
0 files changed, 0 insertions, 0 deletions