land: Restart Snap camera preview after taking a picture

With the OSS camera HAL, the camera preview freezes every time
a picture is taken. Restart the preview to unfreeze it.

Change-Id: If0fd6a1fcb01eccc4cf7f1abc548dcb92e9546b1
Signed-off-by: Darshan Manjrekar <darshanmanjrekar1205@gmail.com>
This commit is contained in:
Zhao Wei Liew 2017-02-19 01:11:11 +08:00 committed by Darshan Manjrekar
parent 333bf8080e
commit 9cc0c41678
No known key found for this signature in database
GPG key ID: 210DE23F489279C5

View file

@ -24,5 +24,11 @@
<!-- Opens front camera using openLegacy() --> <!-- Opens front camera using openLegacy() -->
<bool name="front_camera_open_legacy">false</bool> <bool name="front_camera_open_legacy">false</bool>
<!-- Restart preview for back camera onPictureTaken -->
<bool name="back_camera_restart_preview_onPictureTaken">true</bool>
<!-- Restart preview for front camera onPictureTaken -->
<bool name="front_camera_restart_preview_onPictureTaken">true</bool>
</resources> </resources>