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">1048576</int> |
| 30 | |
| 31 | <!-- Maximum height for an attached image --> |
| 32 | <int name="maxImageHeight">2432</int> |
| 33 | |
| 34 | <!-- Maximum width for an attached image --> |
| 35 | <int name="maxImageWidth">4320</int> |
| 36 | |
| 37 | <!-- Maximum number of SMS message to save per thread before auto-delete kicks in. |
| 38 | This is the default value. --> |
| 39 | <int name="defaultSMSMessagesPerThread">500</int> |
| 40 | |
| 41 | <!-- Maximum number of MMS message to save per thread before auto-delete kicks in. |
| 42 | This is the default value. --> |
| 43 | <int name="defaultMMSMessagesPerThread">50</int> |
| 44 | |
| 45 | <!-- Minimum value for the number of messages kept per conversation. The user can never |
| 46 | set the limit below this value. --> |
| 47 | <int name="minMessageCountPerThread">10</int> |
| 48 | |
| 49 | <!-- Maximum value for the number of messages kept per conversation. The user can never |
| 50 | set the limit above this value. --> |
| 51 | <int name="maxMessageCountPerThread">5000</int> |
| 52 | |
| 53 | <!-- Maximum number of recipients allowed per message. Use a value of -1 |
| 54 | to indicate no limit. --> |
| 55 | <int name="recipientLimit">20</int> |
| 56 | |
| 57 | <!-- If true, The text message over 160 characters will be sent in multi part. |
| 58 | If false, The text message over 160 characters will be sent |
| 59 | via multi media message. --> |
| 60 | <bool name="enableMultipartSMS">true</bool> |
| 61 | |
| 62 | <!-- If enableMultipartSMS is true and smsToMmsTextThreshold > 1, then multi-part SMS messages |
| 63 | will be converted into a single mms message. For example, if the mms_config.xml file |
| 64 | specifies <int name="smsToMmsTextThreshold">7</int>, then on the 8th sms segment, the |
| 65 | message will be converted to an mms. --> |
| 66 | <int name="smsToMmsTextThreshold">1</int> |
| 67 | |
| 68 | <!-- If true, The mms support slide duration. |
| 69 | If false, The mms does not support slide duration and we have to |
| 70 | set duration value. --> |
| 71 | <bool name="enableSlideDuration">true</bool> |
| 72 | |
| 73 | <!-- Maximum length for message text. Use a value of -1 |
| 74 | to indicate default value --> |
| 75 | <int name="maxMessageTextSize">-1</int> |
| 76 | |
| 77 | <!-- Maximum length in chars of mms subject field --> |
| 78 | <int name="maxSubjectLength">80</int> |
| 79 | |
| 80 | <!-- Reference for additional http parameters used in MMS http request. |
| 81 | Parameters are seperated by '|'. Optional. --> |
| 82 | <string name="httpParams">X-MDN: ##LINE1##</string> |
| 83 | </mms_config> |