From d8447450778d33262aebd7f7ed4346a8832f192e Mon Sep 17 00:00:00 2001 From: codeworkx Date: Thu, 22 Dec 2016 20:05:52 +0100 Subject: Snap: Make openLegacy an option Using openLegacy on QCamera3 forces it to use QCamera2 and fall back to api v1 which is not what we want on v2 devices. Author: codeworkx Date: Tue Jan 5 23:02:12 2016 +0100 make openLegacy an option Change-Id: Ia4142288ef0fafa62fa0ab855dc342b363b640cd Author: Zhao Wei Liew Date: Sun Jul 10 15:11:43 2016 +0800 Snap: Tighten openLegacy() try-catch block We only have to enclose the openLegacy() call in a try-catch block. This prevents us from re-calling open() when open() fails and throws a RuntimeException. Change-Id: I81396e453f57215338a0c4da41c4116f2b4d42ca Change-Id: Ic392a4ae9403ebae36940ddf0727237d9cb9e8f0 --- res/values/config.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'res') diff --git a/res/values/config.xml b/res/values/config.xml index 6ac6ecea1..0b84c97d6 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -28,6 +28,12 @@ of the fullscreen pano preview. --> true + + true + + + true + false -- cgit v1.2.3