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
This commit is contained in:
Zhao Wei Liew 2017-02-19 01:11:11 +08:00
parent be68db50d3
commit 37c0c48a58

View file

@ -23,4 +23,10 @@
<!-- Opens front camera using openLegacy() -->
<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>