summaryrefslogtreecommitdiffstats
path: root/src/com/android/providers/contacts
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2015-04-02 14:30:59 -0700
committerNancy Chen <nancychen@google.com>2015-04-02 18:10:34 -0700
commitdca8f302db8e661f13f3585bc67c53a5adf36617 (patch)
tree4c08e38f565879819835a43ed407088743104fdc /src/com/android/providers/contacts
parentbb1bc1a5b107e282f974e2a9f43307d0c2144c62 (diff)
downloadpackages_providers_ContactsProvider-dca8f302db8e661f13f3585bc67c53a5adf36617.tar.gz
packages_providers_ContactsProvider-dca8f302db8e661f13f3585bc67c53a5adf36617.tar.bz2
packages_providers_ContactsProvider-dca8f302db8e661f13f3585bc67c53a5adf36617.zip
Add phone_account_* fields to voicemail content table allowed columns.
This allows updating and querying of voicemail entires for their respective phone account columns. Update tests to reflect this change: - Increase number of voicemail columns to 18 - Add phone_account_* fields to update test Bug: 19236241 Change-Id: I16b3c9d2a74bc7e169de4dd108b39b94acc98c4f
Diffstat (limited to 'src/com/android/providers/contacts')
-rw-r--r--src/com/android/providers/contacts/VoicemailContentTable.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/providers/contacts/VoicemailContentTable.java b/src/com/android/providers/contacts/VoicemailContentTable.java
index 9813eeaf..7f943e32 100644
--- a/src/com/android/providers/contacts/VoicemailContentTable.java
+++ b/src/com/android/providers/contacts/VoicemailContentTable.java
@@ -68,6 +68,8 @@ public class VoicemailContentTable implements VoicemailTable.Delegate {
.add(Voicemails.SOURCE_DATA)
.add(Voicemails.SOURCE_PACKAGE)
.add(Voicemails.HAS_CONTENT)
+ .add(Voicemails.PHONE_ACCOUNT_COMPONENT_NAME)
+ .add(Voicemails.PHONE_ACCOUNT_ID)
.add(Voicemails.MIME_TYPE)
.add(Voicemails.DIRTY)
.add(Voicemails.DELETED)
@@ -101,6 +103,8 @@ public class VoicemailContentTable implements VoicemailTable.Delegate {
.add(Voicemails.HAS_CONTENT)
.add(Voicemails.MIME_TYPE)
.add(Voicemails._DATA)
+ .add(Voicemails.PHONE_ACCOUNT_COMPONENT_NAME)
+ .add(Voicemails.PHONE_ACCOUNT_ID)
.add(Voicemails.DIRTY)
.add(Voicemails.DELETED)
.add(OpenableColumns.DISPLAY_NAME, createDisplayName(context))