diff options
Diffstat (limited to 'overlay/packages')
-rw-r--r-- | overlay/packages/apps/Camera2/res/values/config.xml (renamed from overlay/packages/services/Telephony/res/values/config.xml) | 8 | ||||
-rw-r--r-- | overlay/packages/apps/Dialer/res/values/config.xml | 16 | ||||
-rw-r--r-- | overlay/packages/apps/Lightbulb/res/values/config.xml | 21 | ||||
-rw-r--r-- | overlay/packages/apps/Settings/res/values/bools.xml | 21 | ||||
-rw-r--r-- | overlay/packages/apps/Settings/res/values/config.xml | 31 | ||||
-rw-r--r-- | overlay/packages/apps/Torch/res/values/config.xml | 47 |
6 files changed, 93 insertions, 51 deletions
diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/apps/Camera2/res/values/config.xml index 230794e..b98eb58 100644 --- a/overlay/packages/services/Telephony/res/values/config.xml +++ b/overlay/packages/apps/Camera2/res/values/config.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source Project +<!-- Copyright (C) 2012 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. @@ -14,9 +14,9 @@ limitations under the License. --> -<!-- Phone app resources that may need to be customized +<!-- Camera app resources that may need to be customized for different hardware or product builds. --> <resources> - <!-- Determines if device implements a noise suppression device for in call audio--> - <bool name="has_in_call_noise_suppression">true</bool> + <!-- Use ZSL mode for Qualcomm cameras --> + <bool name="enableZSL">true</bool> </resources> diff --git a/overlay/packages/apps/Dialer/res/values/config.xml b/overlay/packages/apps/Dialer/res/values/config.xml new file mode 100644 index 0000000..b1c5a94 --- /dev/null +++ b/overlay/packages/apps/Dialer/res/values/config.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Copyright (C) 2014 The CyanogenMod 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. +--> +<resources> + <integer name="call_recording_audio_source">4</integer> +</resources> diff --git a/overlay/packages/apps/Lightbulb/res/values/config.xml b/overlay/packages/apps/Lightbulb/res/values/config.xml new file mode 100644 index 0000000..1315b79 --- /dev/null +++ b/overlay/packages/apps/Lightbulb/res/values/config.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 ParanoidAndroid Project + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +--> +<resources> + <!-- Camera flash (App) --> + <bool name="camera_has_flash">true</bool> +</resources> diff --git a/overlay/packages/apps/Settings/res/values/bools.xml b/overlay/packages/apps/Settings/res/values/bools.xml new file mode 100644 index 0000000..88338eb --- /dev/null +++ b/overlay/packages/apps/Settings/res/values/bools.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 The CyanogenMod Project <http://www.cyanogenmod.org> + + 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. +--> + +<resources xmlns:xliff="urnasis:names:tc:xliff:document:1.2 "> + <!-- Whether or not the dock settings are to be displayed for this device when docked --> + <bool name="has_dock_settings">true</bool> +</resources> diff --git a/overlay/packages/apps/Settings/res/values/config.xml b/overlay/packages/apps/Settings/res/values/config.xml new file mode 100644 index 0000000..f10ae89 --- /dev/null +++ b/overlay/packages/apps/Settings/res/values/config.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2012 The CyanogenMod 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. +--> + +<resources xmlns:xliff="urnasis:names:tc:xliff:document:1.2 "> + <!-- Home button wake support --> + <bool name="config_show_homeWake">true</bool> + + <!-- Volume Rocker Wake Support. Some devices do not support (PMU) this. + Setting to false will disable Volume Rocker Wake support --> + <bool name="config_show_volumeRockerWake">true</bool> + + <!-- Whether device has hardware buttons + <bool name="config_has_hardware_buttons">true</bool> --> + + <!-- Button settings enabled or disabled + <bool name="config_device_has_button_settings" translatable="false">true</bool> --> +</resources> diff --git a/overlay/packages/apps/Torch/res/values/config.xml b/overlay/packages/apps/Torch/res/values/config.xml deleted file mode 100644 index 98c882b..0000000 --- a/overlay/packages/apps/Torch/res/values/config.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright (C) 2013 The CyanogenMod Project - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - version 3 as published by the Free Software Foundation. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, - MA 02110-1301, USA. ---> - -<!-- These resources are around just to allow their values to be customized - for different hardware and product builds. --> -<resources> - <!-- If there is no sysfs-based control mechanism, enable this --> - <bool name="useCameraInterface">false</bool> - - <!-- Full path to the sysfs toggle --> - <string name="flashDevice">/sys/class/camera/flash/rear_flash</string> - <!-- Full path to the sysfs luminosity --> - <string name="flashDeviceLuminosity">/sys/class/camera/flash/rear_flash</string> - <!-- Full path to the 2nd sysfs luminosity, leave empty if doesn't exist --> - <string name="flashDeviceLuminosity2"></string> - - <!-- Off setting --> - <integer name="valueOff">0</integer> - <!-- On setting --> - <integer name="valueOn">1</integer> - - <!-- Low setting --> - <integer name="valueLow">32</integer> - <!-- Middle setting --> - <integer name="valueHigh">128</integer> - <!-- Highest setting, leave -1 if it doesn't exist --> - <integer name="valueDeathRay">-1</integer> - - <!-- If the device supports high brightness mode, enable this --> - <bool name="hasHighBrightness">false</bool> -</resources> |