cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdo...@apache.org
Subject android commit: CB-1969: Searching for emails in Contacts throws an exception always errors out
Date Wed, 05 Dec 2012 21:28:43 GMT
Updated Branches:
  refs/heads/master 7d5249eea -> 9a9d36e9d


CB-1969: Searching for emails in Contacts throws an exception always errors out


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/9a9d36e9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/9a9d36e9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/9a9d36e9

Branch: refs/heads/master
Commit: 9a9d36e9d98a1f4ecfad962be3ed76b7aef8aa1d
Parents: 7d5249e
Author: Simon MacDonald <simon.macdonald@gmail.com>
Authored: Wed Dec 5 16:28:27 2012 -0500
Committer: Simon MacDonald <simon.macdonald@gmail.com>
Committed: Wed Dec 5 16:28:27 2012 -0500

----------------------------------------------------------------------
 .../org/apache/cordova/ContactAccessorSdk5.java    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/9a9d36e9/framework/src/org/apache/cordova/ContactAccessorSdk5.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/ContactAccessorSdk5.java b/framework/src/org/apache/cordova/ContactAccessorSdk5.java
index 73d05bc..fa0e4ff 100644
--- a/framework/src/org/apache/cordova/ContactAccessorSdk5.java
+++ b/framework/src/org/apache/cordova/ContactAccessorSdk5.java
@@ -219,6 +219,7 @@ public class ContactAccessorSdk5 extends ContactAccessor {
             columnsToFetch.add(ContactsContract.CommonDataKinds.Phone.TYPE);
         }
         if (isRequired("emails", populate)) {
+            columnsToFetch.add(ContactsContract.CommonDataKinds.Email._ID);
             columnsToFetch.add(ContactsContract.CommonDataKinds.Email.DATA);
             columnsToFetch.add(ContactsContract.CommonDataKinds.Email.TYPE);
         }


Mime
View raw message