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:
parent
333bf8080e
commit
9cc0c41678
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue