diff options
author | Ta-wei Yen <twyen@google.com> | 2016-08-11 17:22:45 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-08-11 17:22:45 +0000 |
commit | c524cbc53bc8a88915e292626b71fb5aac868ae4 (patch) | |
tree | 1ea99d1c8e20b056e7922abf07d58080013e662b | |
parent | 32774943465cfaf16828ed1fcfee6c6ec76d0a14 (diff) | |
parent | 579bcb61285c36b31668cfffc1931afaeb12f12e (diff) | |
download | ContactsProvider-c524cbc53bc8a88915e292626b71fb5aac868ae4.tar.gz |
Allow the phone account to be queried for voicemail status
am: 579bcb6128
Change-Id: Ie18658e537c5cf79f84c30ba602283b482afe1a0
-rw-r--r-- | src/com/android/providers/contacts/VoicemailStatusTable.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/providers/contacts/VoicemailStatusTable.java b/src/com/android/providers/contacts/VoicemailStatusTable.java index 7551c0d7..01e5c24e 100644 --- a/src/com/android/providers/contacts/VoicemailStatusTable.java +++ b/src/com/android/providers/contacts/VoicemailStatusTable.java @@ -27,7 +27,6 @@ import android.database.sqlite.SQLiteQueryBuilder; import android.net.Uri; import android.os.ParcelFileDescriptor; import android.provider.VoicemailContract.Status; - import com.android.common.content.ProjectionMap; import com.android.providers.contacts.VoicemailContentProvider.UriData; @@ -41,6 +40,8 @@ public class VoicemailStatusTable implements VoicemailTable.Delegate { private static final ProjectionMap sStatusProjectionMap = new ProjectionMap.Builder() .add(Status._ID) + .add(Status.PHONE_ACCOUNT_COMPONENT_NAME) + .add(Status.PHONE_ACCOUNT_ID) .add(Status.CONFIGURATION_STATE) .add(Status.DATA_CHANNEL_STATE) .add(Status.NOTIFICATION_CHANNEL_STATE) |