aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuraj Das <surajdazz@gmail.com>2017-04-04 19:14:42 +0530
committerSuraj Das <surajdazz@gmail.com>2017-04-04 19:14:42 +0530
commit099cbbf093e025e7aedd7212efd2635b660b7289 (patch)
tree5d2f41d7b172c60cede33b7f9bad19ddca289cef
parentf6995753e0b5eb009a0085003545a64dfd300991 (diff)
Update overlays
Kanged from bacon Changes to be committed: modified: overlay/frameworks/base/core/res/res/values/config.xml new file: overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml new file: overlay/frameworks/base/packages/SystemUI/res/values/config.xml modified: overlay/packages/apps/Dialer/res/values/config.xml new file: overlay/packages/apps/Settings/res/values/config.xml new file: overlay/packages/services/Telephony/res/values-mcc460/config.xml new file: overlay/packages/services/Telephony/res/values/config.xml new file: overlay/packages/services/Telephony/res/values/network_mode.xml new file: overlay/vendor/cmsdk/cm/res/res/values/config.xml Change-Id: I09a5432cd07223c03e54b2a62a6a0515635d4b16
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml316
-rw-r--r--overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml26
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml29
-rw-r--r--overlay/packages/apps/Dialer/res/values/config.xml2
-rw-r--r--overlay/packages/apps/Settings/res/values/config.xml36
-rw-r--r--overlay/packages/services/Telephony/res/values-mcc460/config.xml19
-rw-r--r--overlay/packages/services/Telephony/res/values/config.xml29
-rw-r--r--overlay/packages/services/Telephony/res/values/network_mode.xml49
-rw-r--r--overlay/vendor/cmsdk/cm/res/res/values/config.xml43
9 files changed, 544 insertions, 5 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 75545a6..c1e1428 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -19,6 +19,224 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Button illumination -->
+ <bool name="config_deviceHasVariableButtonBrightness">true</bool>
+
+ <!-- Hardware keys present on the device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">71</integer>
+
+ <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareWakeKeys">64</integer>
+
+ <!-- Control the behavior when the user long presses the home button.
+ 0 - Nothing
+ 1 - Menu key
+ 2 - Recent apps view in SystemUI
+ 3 - Launch assist intent
+ 4 - Voice Search
+ 5 - In-app Search
+ This needs to match the constants in
+ policy/src/com/android/internal/policy/impl/PhoneWindowManager.java -->
+ <integer name="config_longPressOnHomeBehavior">3</integer>
+
+ <integer name="config_longPressOnMenuBehavior">2</integer>
+
+ <!-- Control the behavior when the user double-taps the home button.
+ 0 - Nothing
+ 1 - Menu
+ 2 - Recent apps view in SystemUI
+ 3 - Launch assist intent
+ 4 - Voice Search
+ 5 - In-app Search
+ This needs to match the constants in
+ policy/src/com/android/internal/policy/impl/PhoneWindowManager.java -->
+ <integer name="config_doubleTapOnHomeBehavior">0</integer>
+
+ <!-- The duration (in milliseconds) that the radio will scan for a signal
+ when there's no network connection. If the scan doesn't timeout, use zero -->
+ <integer name="config_radioScanningTimeout">0</integer>
+
+ <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
+ <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
+
+ <!-- Boolean indicating whether the wifi chipset has background scan support -->
+ <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
+
+ <!-- Wifi driver supports batched scan -->
+ <bool translatable="false" name="config_wifi_batched_scan_supported">true</bool>
+
+ <!-- This string array should be overridden by the device to present a list of network
+ attributes. This is used by the connectivity manager to decide which networks can coexist
+ based on the hardware -->
+ <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
+ [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
+ <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
+ before automatically restore the default connection. Set -1 if the connection
+ does not require auto-restore. -->
+ <!-- the 6th element indicates boot-time dependency-met value. -->
+ <string-array translatable="false" name="networkAttributes">
+ <item>"wifi,1,1,1,-1,true"</item>
+ <item>"mobile,0,0,0,-1,true"</item>
+ <item>"mobile_mms,2,0,4,60000,true"</item>
+ <item>"mobile_supl,3,0,2,60000,true"</item>
+ <item>"mobile_dun,4,0,2,60000,true"</item>
+ <item>"mobile_hipri,5,0,3,60000,true"</item>
+ <item>"mobile_fota,10,0,2,60000,true"</item>
+ <item>"mobile_ims,11,0,2,60000,true"</item>
+ <item>"mobile_cbs,12,0,2,60000,true"</item>
+ <item>"mobile_ia,14,0,2,-1,true"</item>
+ <item>"bluetooth,7,7,2,-1,true"</item>
+ <item>"ethernet,9,9,9,-1,true"</item>
+ </string-array>
+
+ <!-- This string array should be overridden by the device to present a list of radio
+ attributes. This is used by the connectivity manager to decide which networks can coexist
+ based on the hardware -->
+ <!-- An Array of "[ConnectivityManager connectionType],
+ [# simultaneous connection types]" -->
+ <string-array translatable="false" name="radioAttributes">
+ <item>"1,1"</item>
+ <item>"0,1"</item>
+ <item>"7,1"</item>
+ </string-array>
+
+ <!-- List of regexpressions describing the interface (if any) that represent tetherable
+ USB interfaces. If the device doesn't want to support tething over USB this should
+ be empty. An example would be "usb.*" -->
+ <string-array translatable="false" name="config_tether_usb_regexs">
+ <item>"usb\\d"</item>
+ <item>"rndis\\d"</item>
+ </string-array>
+
+ <!-- List of regexpressions describing the interface (if any) that represent tetherable
+ Wifi interfaces. If the device doesn't want to support tethering over Wifi this
+ should be empty. An example would be "softap.*" -->
+ <string-array translatable="false" name="config_tether_wifi_regexs">
+ <item>"wlan0"</item>
+ </string-array>
+
+ <!-- List of regexpressions describing the interface (if any) that represent tetherable
+ bluetooth interfaces. If the device doesn't want to support tethering over bluetooth this
+ should be empty. -->
+ <string-array translatable="false" name="config_tether_bluetooth_regexs">
+ <item>"bnep\\d"</item>
+ <item>"bt-pan"</item>
+ </string-array>
+
+ <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
+ <!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
+ <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
+ <integer-array translatable="false" name="config_tether_upstream_types">
+ <item>0</item>
+ <item>1</item>
+ <item>4</item>
+ <item>5</item>
+ <item>7</item>
+ </integer-array>
+
+ <!-- Boolean indicddating if restoring network selection should be skipped -->
+ <!-- The restoring is handled by modem if it is true -->
+ <bool translatable="false" name="skip_restoring_network_selection">true</bool>
+
+ <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
+ <bool name="config_unplugTurnsOnScreen">true</bool>
+
+ <!-- reference volume index for music stream to limit headphone volume and display warning -->
+ <integer name="config_safe_media_volume_index">9</integer>
+
+ <bool name="config_enableWifiDisplay">true</bool>
+
+ <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
+ <bool name="config_cellBroadcastAppLinks">true</bool>
+
+ <!-- Make things go fast -->
+ <bool name="config_ui_enableFadingMarquee">false</bool>
+
+ <!-- Set to true if the wifi display supports compositing content stored
+ in gralloc protected buffers. For this to be true, there must exist
+ a protected hardware path for surface flinger to composite and send
+ protected buffers to the wifi display video encoder.
+
+ If this flag is false, we advise applications not to use protected
+ buffers (if possible) when presenting content to a wifi display because
+ the content may be blanked.
+
+ This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
+ flag is set for wifi displays.
+ -->
+ <bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
+
+ <!-- bool value to for enabling motion accelerometer
+ <bool name="use_motion_accel">false</bool>
+ -->
+
+ <!-- Device specific options -->
+
+ <!-- Default LED on time for notification LED in milliseconds. -->
+ <integer name="config_defaultNotificationLedOn">500</integer>
+
+ <!-- Default LED off time for notification LED in milliseconds. -->
+ <integer name="config_defaultNotificationLedOff">5000</integer>
+
+ <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
+ <bool name="config_intrusiveNotificationLed">true</bool>
+
+ <!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
+ <bool name="config_intrusiveBatteryLed">true</bool>
+
+ <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
+ Software implementation will be used if config_hardware_auto_brightness_available is not set -->
+ <bool name="config_automatic_brightness_available">true</bool>
+
+ <!-- Setting this true forces the headset jack switches to use the/dev/input/event subsystem
+ rather than the uevent framework. -->
+ <bool name="config_useDevInputEventForAudioJack">true</bool>
+
+ <!-- Indicate whether closing the lid causes the device to go to sleep and opening
+ it causes the device to wake up.
+ The default is false. -->
+ <bool name="config_lidControlsSleep">true</bool>
+
+ <!-- Indicate whether to allow the device to suspend when the screen is off
+ due to the proximity sensor. This resource should only be set to true
+ if the sensor HAL correctly handles the proximity sensor as a wake-up source.
+ Otherwise, the device may fail to wake out of suspend reliably.
+ The default is false. -->
+ <bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
+
+ <!-- Is the device capable of hot swapping an ICC Card -->
+ <bool name="config_hotswapCapable">true</bool>
+
+ <!-- Flag specifying whether VoLTE & VT is availasble on device -->
+ <bool name="config_device_volte_available">false</bool>
+
+ <!-- Maximum number of supported users -->
+ <integer name="config_multiuserMaximumUsers">4</integer>
+ <!-- Whether Multiuser UI should be shown -->
+ <bool name="config_enableMultiUserUI">true</bool>
+
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows:
@@ -70,11 +288,100 @@
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">2</integer>
+ <!-- Maximum screen brightness allowed by the power manager.
+ The user is forbidden from setting the brightness above this level. -->
+ <integer name="config_screenBrightnessSettingMaximum">255</integer>
- <!-- Indicate whether closing the lid causes the device to go to sleep and opening
- it causes the device to wake up.
- The default is false. -->
- <bool name="config_lidControlsSleep">true</bool>
+ <!-- Default screen brightness setting.
+ Must be in the range specified by minimum and maximum. -->
+ <integer name="config_screenBrightnessSettingDefault">102</integer>
+
+ <!-- Screen brightness used to dim the screen when the user activity
+ timeout expires. May be less than the minimum allowed brightness setting
+ that can be set by the user. -->
+ <integer name="config_screenBrightnessDim">10</integer>
+
+ <!-- Default color for notification LED is white. -->
+ <color name="config_defaultNotificationColor">#ffffffff</color>
+
+ <!-- Indicate the device's Smart Cover coordinates.
+ If none are provided, then the feature will be disabled.
+ The array should contain 4 values, in pixels, (sample values provided):
+ Top 0
+ Left 100
+ Bottom Top + 400
+ Right Display Width - 100
+ -->
+ <!-- disabled until smart cover can be tested
+ <integer-array name="config_smartCoverWindowCoords">
+ <item>0</item>
+ <item>44</item>
+ <item>774</item>
+ <item>1036</item>
+ </integer-array>
+ -->
+
+ <!-- Base "touch slop" value used by ViewConfiguration as a
+ movement threshold where scrolling should begin. -->
+ <dimen name="config_viewConfigurationTouchSlop">4dp</dimen>
+
+ <!-- Vibrator pattern for feedback about a long screen/key press -->
+ <integer-array name="config_longPressVibePattern">
+ <item>0</item>
+ <item>25</item>
+ <item>10</item>
+ </integer-array>
+
+ <!-- Vibrator pattern for feedback about touching a virtual key -->
+ <integer-array name="config_virtualKeyVibePattern">
+ <item>0</item>
+ <item>25</item>
+ <item>8</item>
+ </integer-array>
+
+ <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
+ <integer-array name="config_keyboardTapVibePattern">
+ <item>25</item>
+ </integer-array>
+
+ <!-- Doze mode -->
+ <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
+ <integer name="config_screenBrightnessDoze">5</integer>
+ <bool name="config_dozeAfterScreenOff">true</bool>
+ <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
+
+ <!-- Whether device supports double tap to wake -->
+ <bool name="config_supportDoubleTapWake">true</bool>
+
+ <string-array name="config_mobile_tcp_buffers">
+ <item>"lte:2097152,4194304,8388608,262144,524288,1048576"</item>
+ <item>"lte_ca:2097152,4194304,8388608,262144,524288,1048576"</item>
+ <item>"umts:4094,87380,1220608,4096,16384,1220608"</item>
+ <item>"hspa:4094,87380,1220608,4096,16384,1220608"</item>
+ <item>"hsupa:4094,87380,1220608,4096,16384,1220608"</item>
+ <item>"hsdpa:4094,87380,2441216,4096,16384,2441216"</item>
+ <item>"hspap:4094,87380,1220608,4096,16384,1220608"</item>
+ <item>"edge:4093,26280,35040,4096,16384,35040"</item>
+ <item>"gprs:4092,8760,11680,4096,8760,11680"</item>
+ <item>"evdo:4094,87380,1048576,4096,16384,262144"</item>
+ <item>"ehrpd:4094,87380,1048576,4096,16384,262144"</item>
+ </string-array>
+
+ <!-- Configure wifi tcp buffersizes in the form:
+ rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
+ <string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,4194304,262144,524288,1048576</string>
+
+ <!-- Enable doze powersaving -->
+ <bool name="config_enableAutoPowerModes">true</bool>
+
+ <!-- Our modem doesn't support this query yet -->
+ <string name="config_radio_access_family">GPRS|EDGE|UMTS|HSDPA|HSUPA|HSPA|LTE|HSPAP|GSM|TD_SCDMA|WCDMA|LTE_CA</string>
+
+ <!-- Operating voltage for bluetooth controller. 0 by default-->
+ <integer translatable="false" name="config_bluetooth_operating_voltage_mv">3700</integer>
+
+ <!-- Enable blur support -->
+ <bool name="config_uiBlurEnabled">true</bool>
<!-- Default color for notification LED is blue. -->
<color name="config_defaultNotificationColor">#ff0000ff</color>
@@ -87,4 +394,5 @@
<!-- Default value for led color when battery is fully charged -->
<integer name="config_notificationsBatteryFullARGB">0xff0000ff</integer>
+
</resources>
diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
new file mode 100644
index 0000000..4bb77d7
--- /dev/null
+++ b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/**
+ * 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.
+ * 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>
+ <!-- 30 seconds for default screen timeout -->
+ <integer name="def_screen_off_timeout">30000</integer>
+ <!-- Set the automatic brightness mode on by default -->
+ <bool name="def_screen_brightness_automatic_mode">true</bool>
+ <!-- Default screen brightness, from 0 to 255. 87 is 34%. -->
+ <integer name="def_screen_brightness">87</integer>
+</resources>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
new file mode 100644
index 0000000..279b72e
--- /dev/null
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2013, The Android Open Source Project
+** Copyright 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.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+
+ <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? -->
+ <bool name="doze_display_state_supported">true</bool>
+ <bool name="doze_pulse_on_pick_up">true</bool>
+
+</resources>
diff --git a/overlay/packages/apps/Dialer/res/values/config.xml b/overlay/packages/apps/Dialer/res/values/config.xml
index b8a3c13..da46c31 100644
--- a/overlay/packages/apps/Dialer/res/values/config.xml
+++ b/overlay/packages/apps/Dialer/res/values/config.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2014 The CyanogenMod Project
+ Copyright (C) 2016 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.
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..f3856ad
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values/config.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 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.
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- SAR Level for a device -->
+ <!-- Must be overlaid by device -->
+ <bool name="config_show_sar_enable" translatable="false">true</bool>
+ <!-- Maximum Specific Absorption Rate for head -->
+ <string name="sar_head_level" translatable="false">0.270</string>
+ <!-- Maximum Specific Absorption Rate for body -->
+ <string name="sar_body_level" translatable="false">0.540</string>
+
+ <!-- IC Code for a device -->
+ <!-- Must be overlaid by device -->
+ <bool name="config_show_ic_enable" translatable="false">true</bool>
+ <!-- IC Code -->
+ <string name="ic_model" translatable="false">ONE A0001</string>
+ <string name="ic_code" translatable="false">12739A-A0001</string>
+
+ <!-- Regulatory Info -->
+ <!-- Whether to show a preference item for regulatory information in About phone -->
+ <bool name="config_show_regulatory_info">true</bool>
+</resources>
diff --git a/overlay/packages/services/Telephony/res/values-mcc460/config.xml b/overlay/packages/services/Telephony/res/values-mcc460/config.xml
new file mode 100644
index 0000000..52f0696
--- /dev/null
+++ b/overlay/packages/services/Telephony/res/values-mcc460/config.xml
@@ -0,0 +1,19 @@
+<?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>
+ <bool name="config_enabled_tdscdma" translatable="false">true</bool>
+</resources>
diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml
new file mode 100644
index 0000000..cda0d19
--- /dev/null
+++ b/overlay/packages/services/Telephony/res/values/config.xml
@@ -0,0 +1,29 @@
+<?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>
+
+ <!-- Determine whether calls to mute the microphone in PhoneUtils
+ are routed through the android.media.AudioManager class (true) or through
+ the com.android.internal.telephony.Phone interface (false). -->
+ <bool name="send_mic_mute_to_AudioManager">true</bool>
+
+ <!-- Show enabled lte option for lte device -->
+ <bool name="config_enabled_lte" translatable="false">true</bool>
+
+ <bool name="allow_emergency_numbers_in_call_log">true</bool>
+
+</resources>
diff --git a/overlay/packages/services/Telephony/res/values/network_mode.xml b/overlay/packages/services/Telephony/res/values/network_mode.xml
new file mode 100644
index 0000000..8d6cc3f
--- /dev/null
+++ b/overlay/packages/services/Telephony/res/values/network_mode.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 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.
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Mobile network settings, network mode choices for a device supporting CDMA and LTE [CHAR LIMIT=25] -->
+ <string-array name="preferred_network_mode_choices_cm">
+ <item>LTE/CDMA/EvDo/GSM/WCDMA</item>
+ <item>LTE/GSM/WCDMA</item>
+ <item>LTE/CDMA/EvDo</item>
+ <item>CDMA/EvDo auto</item>
+ <item>GSM/WCDMA auto</item>
+ <item>WCDMA only</item>
+ <item>GSM only</item>
+ <item>GSM/WCDMA preferred</item>
+ </string-array>
+ <string-array name="preferred_network_mode_choices">
+ <item>LTE/CDMA/EvDo/GSM/WCDMA</item>
+ <item>LTE/GSM/WCDMA</item>
+ <item>LTE/CDMA/EvDo</item>
+ <item>CDMA/EvDo auto</item>
+ <item>GSM/WCDMA auto</item>
+ <item>WCDMA only</item>
+ <item>GSM only</item>
+ <item>GSM/WCDMA preferred</item>
+ </string-array>
+ <string-array name="preferred_network_mode_values" translatable="false">
+ <item>"10"</item>
+ <item>"9"</item>
+ <item>"8"</item>
+ <item>"4"</item>
+ <item>"3"</item>
+ <item>"2"</item>
+ <item>"1"</item>
+ <item>"0"</item>
+ </string-array>
+</resources>
diff --git a/overlay/vendor/cmsdk/cm/res/res/values/config.xml b/overlay/vendor/cmsdk/cm/res/res/values/config.xml
new file mode 100644
index 0000000..e5d3f19
--- /dev/null
+++ b/overlay/vendor/cmsdk/cm/res/res/values/config.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015-2016 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>
+
+ <!-- Default value for proximity check on screen wake
+ NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
+ <bool name="config_proximityCheckOnWake">true</bool>
+ <integer name="config_proximityCheckTimeout">100</integer>
+ <bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
+
+ <!-- Ambient lux at which to enable outdoor mode when LiveDisplay is enabled -->
+ <integer name="config_outdoorAmbientLux">12000</integer>
+
+ <!-- All the capabilities of the LEDs on this device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following capabilities present:
+
+ LIGHTS_RGB_NOTIFICATION_LED = 1
+ LIGHTS_RGB_BATTERY_LED = 2
+ LIGHTS_MULTIPLE_NOTIFICATION_LED = 4
+ LIGHTS_PULSATING_LED = 8
+ LIGHTS_SEGMENTED_BATTERY_LED = 16
+ LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
+
+ For example, a device support pulsating, RGB notification and
+ battery LEDs would set this config to 11. -->
+ <integer name="config_deviceLightCapabilities">43</integer>
+
+</resources>