summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Chow <William.Chow@motorola.com>2014-09-26 14:27:30 -0400
committerRamanan Rajeswaran <ramanan@google.com>2014-10-12 10:26:56 -0700
commit19fe1e1775a5e2e8f7a42c27b941b18c73a2eea2 (patch)
treeffb33b05fb72125135c7b8ca4f07aff525b76da0
parent9e0f289906a4ebd26525bc39c273b767afa4b76a (diff)
downloadandroid_packages_services_Mms-19fe1e1775a5e2e8f7a42c27b941b18c73a2eea2.tar.gz
android_packages_services_Mms-19fe1e1775a5e2e8f7a42c27b941b18c73a2eea2.tar.bz2
android_packages_services_Mms-19fe1e1775a5e2e8f7a42c27b941b18c73a2eea2.zip
Update mms_config.xml for Sprint variants.
Change-Id: I505d546655643062d0e9fe1f8b4832e66ee38af9
-rwxr-xr-x[-rw-r--r--]res/xml-mcc310-mnc120/mms_config.xml27
-rwxr-xr-x[-rw-r--r--]res/xml-mcc311-mnc490/mms_config.xml32
-rwxr-xr-x[-rw-r--r--]res/xml-mcc311-mnc870/mms_config.xml34
-rwxr-xr-xres/xml-mcc312-mnc530/mms_config.xml75
4 files changed, 146 insertions, 22 deletions
diff --git a/res/xml-mcc310-mnc120/mms_config.xml b/res/xml-mcc310-mnc120/mms_config.xml
index 329a55c..8c1ae11 100644..100755
--- a/res/xml-mcc310-mnc120/mms_config.xml
+++ b/res/xml-mcc310-mnc120/mms_config.xml
@@ -15,6 +15,9 @@
-->
<mms_config version="4">
+ <!-- Flag indicating whether MMS should be enabled -->
+ <bool name="enabledMMS">true</bool>
+
<!-- Maximum message size in bytes for a MMS message -->
<int name="maxMessageSize">1048576</int>
@@ -24,15 +27,20 @@
<!-- Maximum width for an attached image -->
<int name="maxImageWidth">2592</int>
+ <!-- Maximum number of recipients allowed per message. Use a value of -1
+ to indicate no limit. -->
+ <int name="recipientLimit">40</int>
+
<!-- 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 or separate, independent SMS messages,
- dependent on sendMultipartSMSAsSeparateMessages value. -->
- <bool name="enableMultipartSMS">false</bool>
+ via multi media message. -->
+ <bool name="enableMultipartSMS">true</bool>
- <!-- If this is true, The text message over 160 characters will be sent in separate,
- independent messages after split into 160 character parts -->
- <bool name="sendMultipartSmsAsSeparateMessages">true</bool>
+ <!-- If enableMultipartSMS is true and smsToMmsTextThreshold > 1, then multi-part SMS messages
+ will be converted into a single mms message. For example, if the mms_config.xml file
+ specifies <int name="smsToMmsTextThreshold">7</int>, then on the 8th sms segment, the
+ message will be converted to an mms. -->
+ <int name="smsToMmsTextThreshold">6</int>
<!-- If true, The mms support slide duration.
If false, The mms does not support slide duration and we have to
@@ -43,6 +51,12 @@
to indicate default value -->
<int name="maxMessageTextSize">-1</int>
+ <!-- Maximum length in chars of mms subject field -->
+ <int name="maxSubjectLength">80</int>
+
+ <!-- Email Gateway Number -->
+ <string name="emailGatewayNumber">6245</string>
+
<bool name="enableMMSReadReports">false</bool>
<bool name="enableSMSDeliveryReports">false</bool>
@@ -59,4 +73,3 @@
<!-- If true, need to read content_disposition field of an MMS part -->
<bool name="supportMmsContentDisposition">false</bool>
</mms_config>
-
diff --git a/res/xml-mcc311-mnc490/mms_config.xml b/res/xml-mcc311-mnc490/mms_config.xml
index 5405bcb..8c1ae11 100644..100755
--- a/res/xml-mcc311-mnc490/mms_config.xml
+++ b/res/xml-mcc311-mnc490/mms_config.xml
@@ -15,6 +15,9 @@
-->
<mms_config version="4">
+ <!-- Flag indicating whether MMS should be enabled -->
+ <bool name="enabledMMS">true</bool>
+
<!-- Maximum message size in bytes for a MMS message -->
<int name="maxMessageSize">1048576</int>
@@ -24,15 +27,20 @@
<!-- Maximum width for an attached image -->
<int name="maxImageWidth">2592</int>
+ <!-- Maximum number of recipients allowed per message. Use a value of -1
+ to indicate no limit. -->
+ <int name="recipientLimit">40</int>
+
<!-- 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 or separate, independent SMS messages,
- dependent on sendMultipartSMSAsSeparateMessages value. -->
- <bool name="enableMultipartSMS">false</bool>
+ via multi media message. -->
+ <bool name="enableMultipartSMS">true</bool>
- <!-- If this is true, The text message over 160 characters will be sent in separate,
- independent messages after split into 160 character parts -->
- <bool name="sendMultipartSmsAsSeparateMessages">true</bool>
+ <!-- If enableMultipartSMS is true and smsToMmsTextThreshold > 1, then multi-part SMS messages
+ will be converted into a single mms message. For example, if the mms_config.xml file
+ specifies <int name="smsToMmsTextThreshold">7</int>, then on the 8th sms segment, the
+ message will be converted to an mms. -->
+ <int name="smsToMmsTextThreshold">6</int>
<!-- If true, The mms support slide duration.
If false, The mms does not support slide duration and we have to
@@ -43,6 +51,12 @@
to indicate default value -->
<int name="maxMessageTextSize">-1</int>
+ <!-- Maximum length in chars of mms subject field -->
+ <int name="maxSubjectLength">80</int>
+
+ <!-- Email Gateway Number -->
+ <string name="emailGatewayNumber">6245</string>
+
<bool name="enableMMSReadReports">false</bool>
<bool name="enableSMSDeliveryReports">false</bool>
@@ -51,9 +65,11 @@
<!-- Reference for additional http parameters used in MMS http request.
Parameters are seperated by '|'. Optional. -->
- <string name="httpParams">X-MDN: 1##LINE1##</string>
+ <string name="httpParams">X-MDN: ##LINE1##|Proxy-Authorization: Basic ##NAI##</string>
+
+ <!-- Suffix to the NAI header (encoded together with base64) -->
+ <string name="naiSuffix">:pcs</string>
<!-- If true, need to read content_disposition field of an MMS part -->
<bool name="supportMmsContentDisposition">false</bool>
</mms_config>
-
diff --git a/res/xml-mcc311-mnc870/mms_config.xml b/res/xml-mcc311-mnc870/mms_config.xml
index 571bc07..8c1ae11 100644..100755
--- a/res/xml-mcc311-mnc870/mms_config.xml
+++ b/res/xml-mcc311-mnc870/mms_config.xml
@@ -15,6 +15,9 @@
-->
<mms_config version="4">
+ <!-- Flag indicating whether MMS should be enabled -->
+ <bool name="enabledMMS">true</bool>
+
<!-- Maximum message size in bytes for a MMS message -->
<int name="maxMessageSize">1048576</int>
@@ -24,15 +27,20 @@
<!-- Maximum width for an attached image -->
<int name="maxImageWidth">2592</int>
+ <!-- Maximum number of recipients allowed per message. Use a value of -1
+ to indicate no limit. -->
+ <int name="recipientLimit">40</int>
+
<!-- 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 or separate, independent SMS messages,
- dependent on sendMultipartSMSAsSeparateMessages value. -->
- <bool name="enableMultipartSMS">false</bool>
+ via multi media message. -->
+ <bool name="enableMultipartSMS">true</bool>
- <!-- If this is true, The text message over 160 characters will be sent in separate,
- independent messages after split into 160 character parts -->
- <bool name="sendMultipartSmsAsSeparateMessages">true</bool>
+ <!-- If enableMultipartSMS is true and smsToMmsTextThreshold > 1, then multi-part SMS messages
+ will be converted into a single mms message. For example, if the mms_config.xml file
+ specifies <int name="smsToMmsTextThreshold">7</int>, then on the 8th sms segment, the
+ message will be converted to an mms. -->
+ <int name="smsToMmsTextThreshold">6</int>
<!-- If true, The mms support slide duration.
If false, The mms does not support slide duration and we have to
@@ -43,13 +51,25 @@
to indicate default value -->
<int name="maxMessageTextSize">-1</int>
+ <!-- Maximum length in chars of mms subject field -->
+ <int name="maxSubjectLength">80</int>
+
+ <!-- Email Gateway Number -->
+ <string name="emailGatewayNumber">6245</string>
+
<bool name="enableMMSReadReports">false</bool>
<bool name="enableSMSDeliveryReports">false</bool>
<bool name="enableMMSDeliveryReports">false</bool>
+ <!-- Reference for additional http parameters used in MMS http request.
+ Parameters are seperated by '|'. Optional. -->
+ <string name="httpParams">X-MDN: ##LINE1##|Proxy-Authorization: Basic ##NAI##</string>
+
+ <!-- Suffix to the NAI header (encoded together with base64) -->
+ <string name="naiSuffix">:pcs</string>
+
<!-- If true, need to read content_disposition field of an MMS part -->
<bool name="supportMmsContentDisposition">false</bool>
</mms_config>
-
diff --git a/res/xml-mcc312-mnc530/mms_config.xml b/res/xml-mcc312-mnc530/mms_config.xml
new file mode 100755
index 0000000..8c1ae11
--- /dev/null
+++ b/res/xml-mcc312-mnc530/mms_config.xml
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2013 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.
+-->
+
+<mms_config version="4">
+ <!-- Flag indicating whether MMS should be enabled -->
+ <bool name="enabledMMS">true</bool>
+
+ <!-- Maximum message size in bytes for a MMS message -->
+ <int name="maxMessageSize">1048576</int>
+
+ <!-- Maximum height for an attached image -->
+ <int name="maxImageHeight">1944</int>
+
+ <!-- Maximum width for an attached image -->
+ <int name="maxImageWidth">2592</int>
+
+ <!-- Maximum number of recipients allowed per message. Use a value of -1
+ to indicate no limit. -->
+ <int name="recipientLimit">40</int>
+
+ <!-- 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>
+
+ <!-- If enableMultipartSMS is true and smsToMmsTextThreshold > 1, then multi-part SMS messages
+ will be converted into a single mms message. For example, if the mms_config.xml file
+ specifies <int name="smsToMmsTextThreshold">7</int>, then on the 8th sms segment, the
+ message will be converted to an mms. -->
+ <int name="smsToMmsTextThreshold">6</int>
+
+ <!-- If true, The mms support slide duration.
+ If false, The mms does not support slide duration and we have to
+ set duration value. -->
+ <bool name="enableSlideDuration">false</bool>
+
+ <!-- Maximum length for message text. Use a value of -1
+ to indicate default value -->
+ <int name="maxMessageTextSize">-1</int>
+
+ <!-- Maximum length in chars of mms subject field -->
+ <int name="maxSubjectLength">80</int>
+
+ <!-- Email Gateway Number -->
+ <string name="emailGatewayNumber">6245</string>
+
+ <bool name="enableMMSReadReports">false</bool>
+
+ <bool name="enableSMSDeliveryReports">false</bool>
+
+ <bool name="enableMMSDeliveryReports">false</bool>
+
+ <!-- Reference for additional http parameters used in MMS http request.
+ Parameters are seperated by '|'. Optional. -->
+ <string name="httpParams">X-MDN: ##LINE1##|Proxy-Authorization: Basic ##NAI##</string>
+
+ <!-- Suffix to the NAI header (encoded together with base64) -->
+ <string name="naiSuffix">:pcs</string>
+
+ <!-- If true, need to read content_disposition field of an MMS part -->
+ <bool name="supportMmsContentDisposition">false</bool>
+</mms_config>