summaryrefslogtreecommitdiff
path: root/overlay/packages
diff options
context:
space:
mode:
authorVineeta Srivastava <vsrivastava@google.com>2014-05-13 17:02:06 -0700
committerVineeta Srivastava <vsrivastava@google.com>2014-05-13 17:15:51 -0700
commit01e40082ade5ca811d9e059e4ff0cf8cb7583ed6 (patch)
tree4a504d7ee8d610f24f7eba9a36090bf37e532083 /overlay/packages
parentd64d5de4127bdf1e1421f5b6dcbff9c6212dbbf8 (diff)
downloadshamu-01e40082ade5ca811d9e059e4ff0cf8cb7583ed6.tar.gz
Overlay files for framework
Change-Id: Ifd5d58b7ce8e3940c6938831f5134ee2852ace49
Diffstat (limited to 'overlay/packages')
-rw-r--r--overlay/packages/apps/Mms/res/xml/mms_config.xml72
l---------overlay/packages/apps/Phone1
-rw-r--r--overlay/packages/apps/Settings/res/values/bool.xml20
-rw-r--r--overlay/packages/services/Telephony/res/values/config.xml28
4 files changed, 121 insertions, 0 deletions
diff --git a/overlay/packages/apps/Mms/res/xml/mms_config.xml b/overlay/packages/apps/Mms/res/xml/mms_config.xml
new file mode 100644
index 00000000..b8ce35e9
--- /dev/null
+++ b/overlay/packages/apps/Mms/res/xml/mms_config.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 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.
+-->
+
+<!-- Version History
+ version 1 - initial version.
+ version 2 - added recipientLimit.
+ version 3 - added min/max recycler values.
+ version 4 - added sms to mms text threshold.
+-->
+
+<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">307200</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 SMS message to save per thread before auto-delete kicks in.
+ This is the default value. -->
+ <int name="defaultSMSMessagesPerThread">10000</int>
+
+ <!-- Maximum number of MMS message to save per thread before auto-delete kicks in.
+ This is the default value. -->
+ <int name="defaultMMSMessagesPerThread">1000</int>
+
+ <!-- Minimum value for the number of messages kept per conversation. The user can never
+ set the limit below this value. -->
+ <int name="minMessageCountPerThread">10</int>
+
+ <!-- Maximum value for the number of messages kept per conversation. The user can never
+ set the limit above this value. -->
+ <int name="maxMessageCountPerThread">5000</int>
+
+ <!-- UAProf URL -->
+ <string name="uaProfUrl"></string>
+
+ <!-- Maximum number of recipients allowed per message. Use a value of -1
+ to indicate no limit. -->
+ <int name="recipientLimit">-1</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">true</bool>
+
+ <!-- Maximum length for message text. Use a value of -1
+ to indicate default value -->
+ <int name="maxMessageTextSize">-1</int>
+
+ <!-- User-Agent parameter used in MMS http request -->
+ <string name="userAgent">shamu</string>
+
+</mms_config>
diff --git a/overlay/packages/apps/Phone b/overlay/packages/apps/Phone
new file mode 120000
index 00000000..92808b93
--- /dev/null
+++ b/overlay/packages/apps/Phone
@@ -0,0 +1 @@
+../services/Telephony \ No newline at end of file
diff --git a/overlay/packages/apps/Settings/res/values/bool.xml b/overlay/packages/apps/Settings/res/values/bool.xml
new file mode 100644
index 00000000..72d6cdf7
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values/bool.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright 2014 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.
+-->
+
+<resources>
+ <!-- Whether to show a preference item for mobile plan -->
+ <bool name="config_show_mobile_plan">false</bool>
+</resources>
diff --git a/overlay/packages/services/Telephony/res/values/config.xml b/overlay/packages/services/Telephony/res/values/config.xml
new file mode 100644
index 00000000..efb948dc
--- /dev/null
+++ b/overlay/packages/services/Telephony/res/values/config.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2014 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.
+-->
+
+<!-- Phone app resources that may need to be customized
+ for different hardware or product builds. -->
+<resources>
+ <!-- Determine whether calls to mute the microphone in PhoneUtils
+ are routed through the android.media.AudioManager class (true) or through
+ the com.android.internal.telephony.Phone interface (false). -->
+ <bool name="send_mic_mute_to_AudioManager">true</bool>
+ <!-- Flag indicating if the tty is enabled -->
+ <bool name="tty_enabled">true</bool>
+ <!-- Show enabled lte option for lte device -->
+ <bool name="config_enabled_lte" translatable="false">true</bool>
+</resources>