summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSantos Cordon <santoscordon@google.com>2015-04-27 15:17:49 -0700
committerSantos Cordon <santoscordon@google.com>2015-04-30 14:54:00 -0700
commit6781b0c2375a905614781f8503bfd601f4020340 (patch)
treedb18d39b48059df67fedf5f1e3233c973162a191 /res
parent699e37e52da113bd53cca5627c811a2a27f96759 (diff)
downloadandroid_packages_services_Telephony-6781b0c2375a905614781f8503bfd601f4020340.tar.gz
android_packages_services_Telephony-6781b0c2375a905614781f8503bfd601f4020340.tar.bz2
android_packages_services_Telephony-6781b0c2375a905614781f8503bfd601f4020340.zip
Adding settings for connection services.
1) List all connection services in phone account settings. 2) Add icon to the settings listings 3) Adds code for SIP phone accounts to handle the standard telecom CONFIGURE_CONNECTION_SERVICE intent. This means that when a user clicks on the listed SIP account, they will be taken to thats SIP profile's settings. 4) Added code to SipProfileDb to retrieve a single profile by Uri. 5) Updated SipSettings to refresh list onResume(). This allows deletes and updates made from the phone account list to reflect the legacy Sip Profile Setting activity. Bug: 20303449 Change-Id: If8dd98d17422c2f34a1ff1d3abd4c8e9fd81b496
Diffstat (limited to 'res')
-rw-r--r--res/color/default_sim_icon_tint_color.xml21
-rw-r--r--res/xml/phone_account_settings.xml24
2 files changed, 30 insertions, 15 deletions
diff --git a/res/color/default_sim_icon_tint_color.xml b/res/color/default_sim_icon_tint_color.xml
new file mode 100644
index 000000000..100a96938
--- /dev/null
+++ b/res/color/default_sim_icon_tint_color.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 2015 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.
+ */
+-->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:color="#FF555555"/>
+</selector>
diff --git a/res/xml/phone_account_settings.xml b/res/xml/phone_account_settings.xml
index ff01d3423..119accd11 100644
--- a/res/xml/phone_account_settings.xml
+++ b/res/xml/phone_account_settings.xml
@@ -20,21 +20,15 @@
<PreferenceCategory
android:key="phone_accounts_accounts_list_category_key"
- android:title="@string/phone_accounts_settings_header" />
-
- <com.android.phone.settings.AccountSelectionPreference
- android:key="default_outgoing_account"
- android:title="@string/phone_accounts_make_calls_with"
- android:defaultValue=""
- android:persistent="false" />
-
- <com.android.phone.settings.TtyModeListPreference
- android:key="@string/tty_mode_key"
- android:title="@string/tty_mode_option_title"
- android:summary="@string/tty_mode_option_summary"
- android:persistent="false"
- android:entries="@array/tty_mode_entries"
- android:entryValues="@array/tty_mode_values"/>
+ android:title="@string/phone_accounts_settings_header">
+
+ <com.android.phone.settings.AccountSelectionPreference
+ android:key="default_outgoing_account"
+ android:title="@string/phone_accounts_make_calls_with"
+ android:defaultValue=""
+ android:persistent="false" />
+
+ </PreferenceCategory>
<PreferenceCategory
android:key="phone_accounts_call_assistant_settings_category_key"