summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorqqzhou <qqzhou@codeaurora.org>2014-10-28 14:17:13 +0800
committerMatt Garnes <matt@cyngn.com>2014-11-13 17:48:12 -0800
commit1d8c0c9ac7d347f4c0ab29a85fc7f957ed4ca73d (patch)
tree920a929f7f605fc73bf9ace50bcc827eb9ca907a /res
parentf8595cb0c561457770d8a2f12728fb7fae31baa2 (diff)
downloadandroid_packages_apps_Dialer-1d8c0c9ac7d347f4c0ab29a85fc7f957ed4ca73d.tar.gz
android_packages_apps_Dialer-1d8c0c9ac7d347f4c0ab29a85fc7f957ed4ca73d.tar.bz2
android_packages_apps_Dialer-1d8c0c9ac7d347f4c0ab29a85fc7f957ed4ca73d.zip
Dialer: support "add to black/white list" in call detail
- add the "add to black list" and "add to white list" into options menu of call detail activity. - remove the "IP call" options in call detail activity. Change-Id: I2139d670213e94629c1fcabb1e53110609693859 CRs-Fixed: 746722
Diffstat (limited to 'res')
-rw-r--r--res/menu/call_details_options.xml10
-rw-r--r--[-rwxr-xr-x]res/values-zh-rCN/strings.xml3
-rw-r--r--[-rwxr-xr-x]res/values/strings.xml3
3 files changed, 12 insertions, 4 deletions
diff --git a/res/menu/call_details_options.xml b/res/menu/call_details_options.xml
index 2c55185a7..fa927a9bd 100644
--- a/res/menu/call_details_options.xml
+++ b/res/menu/call_details_options.xml
@@ -21,14 +21,16 @@
android:onClick="onMenuVideoCall"
/>
<item
- android:id="@+id/menu_ip_call_by_slot1"
+ android:id="@+id/menu_add_to_black_list"
android:showAsAction="withText"
- android:onClick="onMenuIpCallBySlot1"
+ android:title="@string/add_to_black_list"
+ android:onClick="onMenuAddToBlackList"
/>
<item
- android:id="@+id/menu_ip_call_by_slot2"
+ android:id="@+id/menu_add_to_white_list"
android:showAsAction="withText"
- android:onClick="onMenuIpCallBySlot2"
+ android:title="@string/add_to_white_list"
+ android:onClick="onMenuAddToWhiteList"
/>
<item
android:id="@+id/menu_trash"
diff --git a/res/values-zh-rCN/strings.xml b/res/values-zh-rCN/strings.xml
index 713b67186..86f16bdc2 100755..100644
--- a/res/values-zh-rCN/strings.xml
+++ b/res/values-zh-rCN/strings.xml
@@ -221,4 +221,7 @@
<string name="call_log_show_all_slots">"所有卡"</string>
<string name="call_log_all_calls_header">"所有通话"</string>
<string name="calllog_search_hint">"搜索通话记录"</string>
+
+ <string name="add_to_white_list">加入白名单</string>
+ <string name="add_to_black_list">加入黑名单</string>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 173377ce2..d03818f68 100755..100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -832,4 +832,7 @@
<string name="call_log_show_all_slots">All SIMs</string>
<string name="call_log_all_calls_header">All calls</string>
<string name="calllog_search_hint">"Search call log"</string>
+
+ <string name="add_to_white_list">Add to white list</string>
+ <string name="add_to_black_list">Add to black list</string>
</resources>