aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-11-29 01:14:20 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2014-11-29 13:45:35 +0000
commit2329f2baa8f4cf936829bd57c7a6cbd90b0d8031 (patch)
tree7cc34ac86268ead19a4eaf7a551350b52a76611f
parent5862ac45d9a4cb3ccb05a357bf613a4911cacd06 (diff)
move overlay to msm8974-common
Change-Id: I2dc06ea9bb720b559ad00a3922212560162949e8
-rw-r--r--overlay-radio/frameworks/base/core/res/res/values/config.xml98
-rw-r--r--overlay-radio/packages/services/Telecomm/res/values/config.xml22
-rw-r--r--overlay-radio/packages/services/Telephony/res/values/config.xml27
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml142
-rw-r--r--overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml21
-rw-r--r--overlay/packages/apps/Camera2/res/values/config.xml22
-rw-r--r--radio.mk16
-rw-r--r--shinano.mk6
8 files changed, 0 insertions, 354 deletions
diff --git a/overlay-radio/frameworks/base/core/res/res/values/config.xml b/overlay-radio/frameworks/base/core/res/res/values/config.xml
deleted file mode 100644
index 3df580d..0000000
--- a/overlay-radio/frameworks/base/core/res/res/values/config.xml
+++ /dev/null
@@ -1,98 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- /*
-** Copyright 2009, The Android Open Source Project
-** Copyright (C) 2013 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>
-
- <!-- 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">9000</integer>
-
- <!-- 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,2,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>"bluetooth,7,7,2,-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>
-
- <!-- Boolean indicating 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>
-
- <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
- <bool name="config_cellBroadcastAppLinks">true</bool>
-
- <!-- The default iface on which to monitor data use -->
- <string name="config_datause_iface" translatable="false">rmnet0</string>
-
- <!-- Array of allowable ConnectivityManager network types 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>5</item>
- <item>7</item>
- </integer-array>
-
- <!-- Configure mobile tcp buffer sizes in the form:
- rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
- If no value is found for the rat-name in use, the system default will be applied.
- -->
- <string-array name="config_mobile_tcp_buffers">
- <item>"lte: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,1220608,4096,16384,1220608"</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,524288,4096,16384,262144"</item>
- </string-array>
-
-</resources>
diff --git a/overlay-radio/packages/services/Telecomm/res/values/config.xml b/overlay-radio/packages/services/Telecomm/res/values/config.xml
deleted file mode 100644
index e45257b..0000000
--- a/overlay-radio/packages/services/Telecomm/res/values/config.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2014 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.
--->
-
-<!-- Telecomm resources that may need to be customized
- for different hardware or product builds. -->
-<resources>
- <!-- Flag indicating if the tty is enabled -->
- <bool name="tty_enabled">true</bool>
-</resources>
diff --git a/overlay-radio/packages/services/Telephony/res/values/config.xml b/overlay-radio/packages/services/Telephony/res/values/config.xml
deleted file mode 100644
index 1840bc4..0000000
--- a/overlay-radio/packages/services/Telephony/res/values/config.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 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.
--->
-
-<!-- Phone app resources that may need to be customized
- for different hardware or product builds. -->
-<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>
-</resources>
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 4056249..febe93b 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -21,149 +21,7 @@
for different hardware and product builds. -->
<resources>
- <!-- Default color for notification LED is white. -->
- <color name="config_defaultNotificationColor">#ffffffff</color>
-
- <!-- Default LED on time for notification LED in milliseconds. -->
- <integer name="config_defaultNotificationLedOn">1000</integer>
-
- <!-- Default LED off time for notification LED in milliseconds. -->
- <integer name="config_defaultNotificationLedOff">6000</integer>
-
- <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
- <bool name="config_unplugTurnsOnScreen">true</bool>
-
- <!-- If this is true, the screen will fade off. -->
- <bool name="config_animateScreenLights">false</bool>
-
- <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
- autodetected from the Configuration. -->
- <bool name="config_showNavigationBar">true</bool>
-
- <!-- Flag indicating whether we should enable the automatic brightness in Settings.
- config_hardware_automatic_brightness_available is not set, so we will use software implementation -->
- <bool name="config_automatic_brightness_available">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:
-
- Zone 0: 0 <= LUX < array[0]
- Zone 1: array[0] <= LUX < array[1]
- ...
- Zone N: array[N - 1] <= LUX < array[N]
- Zone N + 1: array[N] <= LUX < infinity
-
- Must be overridden in platform specific overlays
- -->
- <integer-array name="config_autoBrightnessLevels">
- <item>3</item>
- <item>15</item>
- <item>50</item>
- <item>100</item>
- <item>400</item>
- <item>800</item>
- <item>1520</item>
- </integer-array>
-
- <!-- Array of output values for LCD backlight corresponding to the LUX values
- in the config_autoBrightnessLevels array. This array should have size one greater
- than the size of the config_autoBrightnessLevels array.
- The brightness values must be between 0 and 255 and be non-decreasing.
- This must be overridden in platform specific overlays -->
- <integer-array name="config_autoBrightnessLcdBacklightValues">
- <item>10</item>
- <item>20</item>
- <item>50</item>
- <item>100</item>
- <item>150</item>
- <item>200</item>
- <item>230</item>
- <item>255</item>
- </integer-array>
-
- <!-- Array of output values for button backlight corresponding to the LUX values
- in the config_autoBrightnessLevels array. This array should have size one greater
- than the size of the config_autoBrightnessLevels array.
- The brightness values must be between 0 and 255 and be non-decreasing.
- This must be overridden in platform specific overlays -->
- <integer-array name="config_autoBrightnessButtonBacklightValues">
- <item>0</item>
- <item>0</item>
- <item>0</item>
- <item>0</item>
- <item>0</item>
- <item>0</item>
- <item>0</item>
- <item>0</item>
- </integer-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>
- <item>"softap.*"</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>"bt-pan"</item>
- </string-array>
-
- <!-- Boolean indicating whether the wifi chipset has background scan support -->
- <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
-
- <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
- <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
-
<!-- Wifi driver supports batched scan -->
<bool translatable="false" name="config_wifi_batched_scan_supported">true</bool>
- <!-- reference volume index for music stream to limit headphone volume and display warning -->
- <integer name="config_safe_media_volume_index">7</integer>
-
- <bool name="config_enableWifiDisplay">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>
-
- <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
- <bool name="config_intrusiveNotificationLed">true</bool>
-
- <!-- Does the notification LED support multiple colors?
- Used to decide if the user can change the colors -->
- <bool name="config_multiColorNotificationLed">true</bool>
-
- <!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
- <bool name="config_intrusiveBatteryLed">true</bool>
-
- <!-- Can we change the battery color? -->
- <bool name="config_multiColorBatteryLed">true</bool>
-
- <!-- Base "touch slop" value used by ViewConfiguration as a
- movement threshold where scrolling should begin. -->
- <dimen name="config_viewConfigurationTouchSlop">13dp</dimen>
-
- <!-- Make things go fast -->
- <bool name="config_ui_enableFadingMarquee">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>
-
- <!-- SD card is hot-pluggable on this device
- <bool name="config_batterySdCardAccessibility">true</bool> -->
-
</resources>
diff --git a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index 1ea4f9c..0000000
--- a/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/**
- * Copyright (c) 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.
- */
--->
-<resources>
- <bool name="def_screen_brightness_automatic_mode">true</bool>
-</resources>
diff --git a/overlay/packages/apps/Camera2/res/values/config.xml b/overlay/packages/apps/Camera2/res/values/config.xml
deleted file mode 100644
index 3c82af0..0000000
--- a/overlay/packages/apps/Camera2/res/values/config.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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.
--->
-
-<!-- Camera app resources that may need to be customized
- for different hardware or product builds. -->
-<resources>
- <!-- Use ZSL mode for Qualcomm cameras
- <bool name="enableZSL">true</bool> -->
-</resources>
diff --git a/radio.mk b/radio.mk
deleted file mode 100644
index c7447cf..0000000
--- a/radio.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# LTE, GSM/WCDMA
-PRODUCT_PROPERTY_OVERRIDES += \
- ro.telephony.default_network=9 \
- telephony.lteOnCdmaDevice=0 \
- persist.radio.apm_sim_not_pwdn=1 \
- persist.radio.add_power_save=1 \
- persist.radio.dont_use_dsd=false \
- persist.radio.eons.enabled=false \
- persist.radio.oem_socket=false
-
-# Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false
-PRODUCT_PROPERTY_OVERRIDES += \
- ro.telephony.call_ring.multiple=0
-
-PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
- rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so
diff --git a/shinano.mk b/shinano.mk
index 019f7dc..580b08b 100644
--- a/shinano.mk
+++ b/shinano.mk
@@ -203,12 +203,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
debug.mdpcomp.logs=0 \
debug.mdpcomp.4k2kSplit=true
-# Radio
-ifneq ($(BOARD_HAVE_RADIO),false)
- DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay-radio
- $(call inherit-product, $(COMMON_PATH)/radio.mk)
-endif
-
# Time
PRODUCT_PROPERTY_OVERRIDES += \
persist.timed.enable=true