Mike Dodd | d3b009a | 2015-08-11 11:16:59 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 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 | <!-- Version History |
| 18 | version 1 - initial version. |
| 19 | version 2 - added recipientLimit. |
| 20 | version 3 - added min/max recycler values. |
| 21 | version 4 - added sms to mms text threshold. |
| 22 | --> |
| 23 | |
| 24 | <mms_config version="4"> |
| 25 | <!-- Flag indicating whether MMS should be enabled --> |
| 26 | <bool name="enabledMMS">true</bool> |
| 27 | |
| 28 | <!-- Maximum message size in bytes for a MMS message --> |
| 29 | <int name="maxMessageSize">307200</int> |
| 30 | |
| 31 | <!-- Maximum height for an attached image --> |
| 32 | <int name="maxImageHeight">480</int> |
| 33 | |
| 34 | <!-- Maximum width for an attached image --> |
| 35 | <int name="maxImageWidth">640</int> |
| 36 | |
| 37 | <!-- Maximum number of recipients allowed per message. Use a value of -1 |
| 38 | to indicate no limit. --> |
| 39 | <int name="recipientLimit">-1</int> |
| 40 | |
| 41 | <!-- If true, The text message over 160 characters will be sent in multi part. |
| 42 | If false, The text message over 160 characters will be sent |
| 43 | via multi media message. --> |
| 44 | <bool name="enableMultipartSMS">true</bool> |
| 45 | |
| 46 | <!-- If enableMultipartSMS is true and smsToMmsTextThreshold > 1, then multi-part SMS messages |
| 47 | will be converted into a single mms message. For example, if the mms_config.xml file |
| 48 | specifies <int name="smsToMmsTextThreshold">7</int>, then on the 8th sms segment, the |
| 49 | message will be converted to an mms. --> |
| 50 | <int name="smsToMmsTextThreshold">-1</int> |
| 51 | |
| 52 | <!-- Maximum length for message text. Use a value of -1 |
| 53 | to indicate default value --> |
| 54 | <int name="maxMessageTextSize">-1</int> |
| 55 | |
| 56 | <!-- UAProf parameter tag name --> |
| 57 | <!-- this is default to "x-wap-profile". Override if necessary. Optional --> |
| 58 | <!-- |
| 59 | <string name="uaProfTagName">x-wap-profile</string> |
| 60 | --> |
| 61 | |
| 62 | <!-- Reference for additional http parameters used in MMS http request. |
| 63 | Parameters are seperated by '|'. Optional. |
| 64 | --> |
| 65 | <!-- |
| 66 | <string name="httpParams"> |
| 67 | x-up-calling-line-id: ##LINE1##|x-carrier-magic: http://magic.google.com |
| 68 | </string> |
| 69 | --> |
| 70 | |
| 71 | <!-- Suffix to the NAI header (encoded together with base64) --> |
| 72 | <!-- |
| 73 | <string name="naiSuffix"></string> |
| 74 | --> |
| 75 | </mms_config> |