diff options
author | Andreas Blaesius <skate4life@gmx.de> | 2015-05-21 21:17:18 +0200 |
---|---|---|
committer | Andreas Blaesius <skate4life@gmx.de> | 2015-05-23 11:24:17 +0000 |
commit | a6c63edb988a0dd83ccd7441712ca142de1089e3 (patch) | |
tree | f27b0f15ab8bb8f51f39dc7c67d6e6fd780ea08e /overlay/aosp | |
parent | 34fffb4bc30764b030d05f35d44359402c997d41 (diff) | |
download | device_samsung_espresso3g-a6c63edb988a0dd83ccd7441712ca142de1089e3.zip device_samsung_espresso3g-a6c63edb988a0dd83ccd7441712ca142de1089e3.tar.gz device_samsung_espresso3g-a6c63edb988a0dd83ccd7441712ca142de1089e3.tar.bz2 |
P51XX: rework overlay
Split CM and AOSP specific overlay
Change-Id: I55e5b2fe359e202b1ec65bc77316629309b68fa4
Diffstat (limited to 'overlay/aosp')
3 files changed, 129 insertions, 0 deletions
diff --git a/overlay/aosp/frameworks/base/core/res/res/values/config.xml b/overlay/aosp/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..185ec3f --- /dev/null +++ b/overlay/aosp/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,61 @@ +<?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. Do not translate. --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- 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,3,60000,true"</item> + <item>"mobile_hipri,5,0,3,60000,true"</item> + <item>"mobile_bluetooth,7,7,1,-1,true"</item> + <item>"ethernet,9,9,1,-1,true"</item> + </string-array> + + <!-- 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> + <item>"9,1"</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>5</item> + <item>7</item> + </integer-array> + + <!-- The default iface on which to monitor data use --> + <string name="config_datause_iface">pdp0</string> +</resources> diff --git a/overlay/aosp/packages/apps/Mms/res/xml/mms_config.xml b/overlay/aosp/packages/apps/Mms/res/xml/mms_config.xml new file mode 100644 index 0000000..f37922e --- /dev/null +++ b/overlay/aosp/packages/apps/Mms/res/xml/mms_config.xml @@ -0,0 +1,46 @@ +<?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. +--> + +<!-- Version History + version 1 - initial version. + version 2 - added recipientLimit. + version 3 - added min/max recycler values. + version 4 - added sms to mms text threshold. +--> + +<mms_config version="4"> + + <!-- Maximum message size in bytes for a MMS message --> + <int name="maxMessageSize">614400</int> + + <!-- Maximum height for an attached image --> + <int name="maxImageHeight">1200</int> + + <!-- Maximum width for an attached image --> + <int name="maxImageWidth">1600</int> + + <!-- UAProf URL --> + <string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-P5100.xml</string> + + <!-- If true, The text message over 160 characters will be sent in multi part. + If false, The text message over 160 characters will be sent + via multi media message. --> + <bool name="enableMultipartSMS">true</bool> + + <!-- User-Agent parameter used in MMS http request --> + <string name="userAgent">SAMSUNG-GT-P5100-Mms</string> + +</mms_config> diff --git a/overlay/aosp/packages/services/Telephony/res/values/config.xml b/overlay/aosp/packages/services/Telephony/res/values/config.xml new file mode 100644 index 0000000..230794e --- /dev/null +++ b/overlay/aosp/packages/services/Telephony/res/values/config.xml @@ -0,0 +1,22 @@ +<?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> + <!-- Determines if device implements a noise suppression device for in call audio--> + <bool name="has_in_call_noise_suppression">true</bool> +</resources> |