diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2016-12-31 14:33:12 +0100 |
---|---|---|
committer | nailyk <nailyk-fr@users.noreply.github.com> | 2017-02-25 17:02:14 +0100 |
commit | 06dfcb5181f10a69a891ba893f065a803b6344bc (patch) | |
tree | ce8517b27c570cef77f21c008839c63356c0167b | |
parent | a54b1e3eb189f7f73c00df09b21d5ae77f5be14c (diff) |
cam: use camera_open_legacy
also restart preview after taking picture
-rw-r--r-- | overlay/packages/apps/Snap/res/values/config.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/overlay/packages/apps/Snap/res/values/config.xml b/overlay/packages/apps/Snap/res/values/config.xml index f77fcfb..8376863 100644 --- a/overlay/packages/apps/Snap/res/values/config.xml +++ b/overlay/packages/apps/Snap/res/values/config.xml @@ -17,10 +17,11 @@ <!-- Camera app resources that may need to be customized for different hardware or product builds. --> <resources> - <!-- Opens back camera using openLegacy() --> - <bool name="back_camera_open_legacy">false</bool> - <!-- 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> |