From 0d33346534a728a1f8efaec05fcdccbe3e5440e1 Mon Sep 17 00:00:00 2001 From: Sai Kumar Sanagavarapu Date: Wed, 26 Nov 2014 19:07:08 +0530 Subject: SnapdragonCamera: Fix compatibility issues with KK. 1. Remove openLegacy call to open camera. 2. Use generic camcorder profile query mechanism instead of hardcoding profile enums in app. 3. Fix NPE during startpreview if mParameters is null. Change-Id: I7bfc00f68f512c3029ca8ba75863583f1b376094 --- res/values/arrays.xml | 37 ++++++++++++------------------------- res/values/strings.xml | 4 ++-- 2 files changed, 14 insertions(+), 27 deletions(-) (limited to 'res') diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 4ec1949da..40ce12a74 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -31,32 +31,19 @@ @string/pref_video_quality_entry_qvga @string/pref_video_quality_entry_qcif - - - 13 - - 8 - - 6 - - 5 - - 4 - - 12 - - 9 - - 10 - - 11 - - @string/pref_video_quality_default - - 7 - - 2 + 4096x2160 + 3840x2160 + 1920x1080 + 1280x720 + 720x480 + 864x480 + 800x480 + 640x480 + 400x240 + 352x288 + 320x240 + 176x144 diff --git a/res/values/strings.xml b/res/values/strings.xml index 63de736bc..d10696381 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -238,8 +238,8 @@ Video quality - - 3 + + 352x288 -- cgit v1.2.3