summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorHugo Hudson <hugohudson@google.com>2011-07-30 00:09:40 +0100
committerHugo Hudson <hugohudson@google.com>2011-08-02 11:32:16 +0100
commit1e6310fcc55c8549c98018fc427b54e1619320a4 (patch)
tree1f9c0b07fa5ad9615451559da4354708f4d77792 /res/values
parent3606209fe0f5bac0e7d312f0c1576b7ee5cf8ee7 (diff)
downloadpackages_providers_ContactsProvider-1e6310fcc55c8549c98018fc427b54e1619320a4.zip
packages_providers_ContactsProvider-1e6310fcc55c8549c98018fc427b54e1619320a4.tar.gz
packages_providers_ContactsProvider-1e6310fcc55c8549c98018fc427b54e1619320a4.tar.bz2
Add synthetic columns to voicemail table.
- Since our voicemail table supports getInputStream and getOutputStream we should also support the columns for DISPLAY_NAME and SIZE, since these are expected to exist for helping other apps share files - attaching to an email in GMail for example. - Uses an SQL hack to combine a suitably localized string with the number column for the display name. Bug: 5066115 Change-Id: I48a08ade2a3a2a28a1d3e3415ec27dd956056d44
Diffstat (limited to 'res/values')
-rw-r--r--res/values/strings.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6882249..7c8c76b 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -45,4 +45,11 @@
they want to allow the application to do this. [CHAR LIMIT=NONE] -->
<string name="read_write_all_voicemail_description">Allows the application to store and retrieve
all voicemails that this device can access.</string>
+
+ <!-- The prefix string before the number used for the display name for the voicemail table.
+ Because of the way this is combined in SQL we can't allow a generic format string.
+ The resulting string will be this string with the number appended to the end.
+ Note that the trailing space is important, and that to achieve it we have to wrap the
+ string in double quotes. -->
+ <string name="voicemail_from_column">"Voicemail from "</string>
</resources>