summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-07-02 11:05:53 -0700
committerAndrew Lee <anwlee@google.com>2014-07-02 14:50:30 -0700
commitfc1fed72d6adf5158be271646655056b14d1ccf2 (patch)
tree135e0794df62b9a958bcf4991b6364b06c8250f1 /res
parent6806b66ab7ca9821fe3e1123bf02faefa4781fa0 (diff)
Add "Make video call" button to search fragments.
= Add new "make video call" shortcut type, and "handle" its click in SearchFragment. = Enable "make video call" shortcut for regular and smart dial search fragments. For now, this shortcut does nothing. = Enable "add contact" shortcut for smart dial search fragment. = Changed the bounds of the shortcut items to fill to the edges. = Convert shortcut click handling to use switch/case block. = TODO: Enable/disable the shortcuts depending on whether video calling has been enabled, once the option is available. = TODO: Handle dispatching a video call intent, once that intent extra is provided. Bug: 16013180 Change-Id: I7563d1f2939e27c4b13ed966b73cd4badd9d9fa7
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 517045946..2c3b13c10 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -592,6 +592,9 @@
<!-- Shortcut item used to add a number directly from search -->
<string name="search_shortcut_add_to_contacts">Add to contacts</string>
+ <!-- Shortcut item used to make a video call directly from search. -->
+ <string name="search_shortcut_make_video_call">Make video call</string>
+
<!-- Title for the recent calls footer that brings users to the full call history when clicked -->
<string name="recents_footer_text">View full call history</string>