diff options
author | Eric Erfanian <erfanian@google.com> | 2017-03-15 14:41:07 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-03-15 16:24:23 -0700 |
commit | d5e47f6da5b08b13ecdfa7f1edc7e12aeb83fab9 (patch) | |
tree | b54abbb51fb7d66e7755a1fbb5db023ff601090b /java/com/android/voicemail/impl/res/xml | |
parent | 30436e7e6d3f2c8755a91b2b6222b74d465a9e87 (diff) |
Update Dialer source from latest green build.
* Refactor voicemail component
* Add new enriched calling components
Test: treehugger, manual aosp testing
Change-Id: I521a0f86327d4b42e14d93927c7d613044ed5942
Diffstat (limited to 'java/com/android/voicemail/impl/res/xml')
-rw-r--r-- | java/com/android/voicemail/impl/res/xml/voicemail_settings.xml | 47 | ||||
-rw-r--r-- | java/com/android/voicemail/impl/res/xml/vvm_config.xml | 148 |
2 files changed, 195 insertions, 0 deletions
diff --git a/java/com/android/voicemail/impl/res/xml/voicemail_settings.xml b/java/com/android/voicemail/impl/res/xml/voicemail_settings.xml new file mode 100644 index 000000000..22437337c --- /dev/null +++ b/java/com/android/voicemail/impl/res/xml/voicemail_settings.xml @@ -0,0 +1,47 @@ +<?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. +--> + +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" + android:title="@string/voicemail_settings_title"> + + <com.android.voicemail.impl.settings.VoicemailRingtonePreference + android:key="@string/voicemail_notification_ringtone_key" + android:title="@string/voicemail_notification_ringtone_title" + android:persistent="false" + android:ringtoneType="notification" /> + + <CheckBoxPreference + android:key="@string/voicemail_notification_vibrate_key" + android:title="@string/voicemail_notification_vibrate_when_title" + android:persistent="true" /> + + <SwitchPreference + android:key="@string/voicemail_visual_voicemail_key" + android:title="@string/voicemail_visual_voicemail_switch_title"/>" + + <SwitchPreference + android:key="@string/voicemail_visual_voicemail_archive_key" + android:dependency="@string/voicemail_visual_voicemail_key" + android:title="@string/voicemail_visual_voicemail_auto_archive_switch_title"/>" + <Preference + android:key="@string/voicemail_change_pin_key" + android:title="@string/voicemail_change_pin_dialog_title"/> + + <PreferenceScreen + android:key="@string/voicemail_advanced_settings_key" + android:title="@string/voicemail_advanced_settings_title"> + </PreferenceScreen> +</PreferenceScreen> diff --git a/java/com/android/voicemail/impl/res/xml/vvm_config.xml b/java/com/android/voicemail/impl/res/xml/vvm_config.xml new file mode 100644 index 000000000..230d40f90 --- /dev/null +++ b/java/com/android/voicemail/impl/res/xml/vvm_config.xml @@ -0,0 +1,148 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2016 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. +--> + +<list name="carrier_config_list"> + <pbundle_as_map> + <!-- Test --> + <string-array name="mccmnc"> + <item value="TEST"/> + </string-array> + </pbundle_as_map> + + <pbundle_as_map> + <!-- Orange France --> + <string-array name="mccmnc"> + <item value="20801"/> + <item value="20802"/> + </string-array> + + <int + name="vvm_port_number_int" + value="20481"/> + <string name="vvm_destination_number_string">21101</string> + <string-array name="carrier_vvm_package_name_string_array"> + <item value="com.orange.vvm"/> + </string-array> + <string name="vvm_type_string">vvm_type_omtp</string> + <boolean + name="vvm_cellular_data_required_bool" + value="true"/> + <string-array name="vvm_disabled_capabilities_string_array"> + <!-- b/32365569 --> + <item value="STARTTLS"/> + </string-array> + </pbundle_as_map> + + <pbundle_as_map> + <!-- T-Mobile USA--> + <string-array name="mccmnc"> + <item value="310160"/> + <item value="310200"/> + <item value="310210"/> + <item value="310220"/> + <item value="310230"/> + <item value="310240"/> + <item value="310250"/> + <item value="310260"/> + <item value="310270"/> + <item value="310300"/> + <item value="310310"/> + <item value="310490"/> + <item value="310530"/> + <item value="310590"/> + <item value="310640"/> + <item value="310660"/> + <item value="310800"/> + </string-array> + + <int + name="vvm_port_number_int" + value="1808"/> + <int + name="vvm_ssl_port_number_int" + value="993"/> + <string name="vvm_destination_number_string">122</string> + <string-array name="carrier_vvm_package_name_string_array"> + <item value="com.tmobile.vvm.application"/> + </string-array> + <string name="vvm_type_string">vvm_type_cvvm</string>> + <string-array name="vvm_disabled_capabilities_string_array"> + <!-- b/28717550 --> + <item value="AUTH=DIGEST-MD5"/> + </string-array> + </pbundle_as_map> + + <pbundle_as_map> + <!-- Verizon USA --> + <string-array name="mccmnc"> + <item value="310004"/> + <item value="310010"/> + <item value="310012"/> + <item value="310013"/> + <item value="310590"/> + <item value="310890"/> + <item value="310910"/> + <item value="311110"/> + <item value="311270"/> + <item value="311271"/> + <item value="311272"/> + <item value="311273"/> + <item value="311274"/> + <item value="311275"/> + <item value="311276"/> + <item value="311277"/> + <item value="311278"/> + <item value="311279"/> + <item value="311280"/> + <item value="311281"/> + <item value="311282"/> + <item value="311283"/> + <item value="311284"/> + <item value="311285"/> + <item value="311286"/> + <item value="311287"/> + <item value="311288"/> + <item value="311289"/> + <item value="311390"/> + <item value="311480"/> + <item value="311481"/> + <item value="311482"/> + <item value="311483"/> + <item value="311484"/> + <item value="311485"/> + <item value="311486"/> + <item value="311487"/> + <item value="311488"/> + <item value="311489"/> + </string-array> + + <int + name="vvm_port_number_int" + value="0"/> + <string name="vvm_destination_number_string">900080006200</string> + <string name="vvm_type_string">vvm_type_vvm3</string> + <string name="vvm_client_prefix_string">//VZWVVM</string> + <boolean + name="vvm_cellular_data_required_bool" + value="true"/> + <boolean + name="vvm_legacy_mode_enabled_bool" + value="true"/> + <!-- VVM3 specific value for the voicemail management gateway to use if the SMS didn't provide + one --> + <string name="default_vmg_url">https://mobile.vzw.com/VMGIMS/VMServices</string> + </pbundle_as_map> +</list> |