1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright 2014 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">1944</int> 33 34 <!-- Maximum width for an attached image --> 35 <int name="maxImageWidth">2592</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">10000</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">1000</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 <!-- UAProf URL --> 54 <string name="uaProfUrl"></string> 55 56 <!-- Maximum number of recipients allowed per message. Use a value of -1 57 to indicate no limit. --> 58 <int name="recipientLimit">-1</int> 59 60 <!-- If true, The mms support slide duration. 61 If false, The mms does not support slide duration and we have to 62 set duration value. --> 63 <bool name="enableSlideDuration">true</bool> 64 65 <!-- Maximum length for message text. Use a value of -1 66 to indicate default value --> 67 <int name="maxMessageTextSize">-1</int> 68 69 <!-- User-Agent parameter used in MMS http request --> 70 <string name="userAgent">shamu</string> 71 72</mms_config> 73