cm: supersonic: Front-facing-camera feature overlay
- Disable zoom, autofocus, and some color effects on the FFC. This is
required because the same parameters are reported as the maincam, but
do not work or are invalid.
Change-Id: I1e882f8ab7bd6122e22aaebd186e95d305b71b92
diff --git a/overlay/supersonic/packages/apps/Camera/res/values/config.xml b/overlay/supersonic/packages/apps/Camera/res/values/config.xml
new file mode 100644
index 0000000..9fb5286
--- /dev/null
+++ b/overlay/supersonic/packages/apps/Camera/res/values/config.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2009, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+ <!-- FFC parameter filtering -->
+ <bool name="ffc_canFocus">false</bool>
+ <bool name="ffc_canZoom">false</bool>
+ <string name="ffc_supportedEffects">none,mono,sepia</string>
+</resources>
+