Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright 2013 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <mms_config version="4"> |
| 18 | <!-- Flag indicating whether MMS should be enabled --> |
| 19 | <bool name="enabledMMS">true</bool> |
| 20 | |
| 21 | <!-- Maximum message size in bytes for a MMS message --> |
| 22 | <int name="maxMessageSize">1048576</int> |
| 23 | |
| 24 | <!-- Maximum height for an attached image --> |
| 25 | <int name="maxImageHeight">1944</int> |
| 26 | |
| 27 | <!-- Maximum width for an attached image --> |
| 28 | <int name="maxImageWidth">2592</int> |
| 29 | |
| 30 | <!-- Maximum number of recipients allowed per message. Use a value of -1 |
| 31 | to indicate no limit. --> |
| 32 | <int name="recipientLimit">40</int> |
| 33 | |
| 34 | <!-- If true, The text message over 160 characters will be sent in multi part. |
| 35 | If false, The text message over 160 characters will be sent |
| 36 | via multi media message. --> |
| 37 | <bool name="enableMultipartSMS">true</bool> |
| 38 | |
| 39 | <!-- If enableMultipartSMS is true and smsToMmsTextThreshold > 1, then multi-part SMS messages |
| 40 | will be converted into a single mms message. For example, if the mms_config.xml file |
| 41 | specifies <int name="smsToMmsTextThreshold">7</int>, then on the 8th sms segment, the |
| 42 | message will be converted to an mms. --> |
| 43 | <int name="smsToMmsTextThreshold">6</int> |
| 44 | |
| 45 | <!-- If true, The mms support slide duration. |
| 46 | If false, The mms does not support slide duration and we have to |
| 47 | set duration value. --> |
| 48 | <bool name="enableSlideDuration">false</bool> |
| 49 | |
| 50 | <!-- Maximum length for message text. Use a value of -1 |
| 51 | to indicate default value --> |
| 52 | <int name="maxMessageTextSize">-1</int> |
| 53 | |
| 54 | <!-- Maximum length in chars of mms subject field --> |
| 55 | <int name="maxSubjectLength">80</int> |
| 56 | |
| 57 | <!-- Email Gateway Number --> |
| 58 | <string name="emailGatewayNumber">6245</string> |
| 59 | |
| 60 | <bool name="enableMMSReadReports">false</bool> |
| 61 | |
| 62 | <bool name="enableSMSDeliveryReports">false</bool> |
| 63 | |
| 64 | <bool name="enableMMSDeliveryReports">false</bool> |
| 65 | |
| 66 | <!-- Reference for additional http parameters used in MMS http request. |
| 67 | Parameters are seperated by '|'. Optional. --> |
| 68 | <string name="httpParams">X-MDN: ##LINE1##|Proxy-Authorization: Basic ##NAI##</string> |
| 69 | |
| 70 | <!-- Suffix to the NAI header (encoded together with base64) --> |
| 71 | <string name="naiSuffix">:pcs</string> |
| 72 | |
| 73 | <!-- If true, need to read content_disposition field of an MMS part --> |
| 74 | <bool name="supportMmsContentDisposition">false</bool> |
| 75 | </mms_config> |