incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [6/16] android commit: CB-163: contactFindOptions.filter does not work as expected on Android
Date Wed, 04 Apr 2012 20:38:54 GMT
CB-163: contactFindOptions.filter does not work as expected on Android


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

Branch: refs/heads/CordovaWebView
Commit: 5fa77e97bd72c72da523357bf87a0667eefffffc
Parents: 8d479c8
Author: macdonst <simon.macdonald@gmail.com>
Authored: Fri Mar 30 16:28:04 2012 -0400
Committer: macdonst <simon.macdonald@gmail.com>
Committed: Fri Mar 30 16:28:04 2012 -0400

----------------------------------------------------------------------
 .../src/org/apache/cordova/ContactAccessor.java    |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/5fa77e97/framework/src/org/apache/cordova/ContactAccessor.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/ContactAccessor.java b/framework/src/org/apache/cordova/ContactAccessor.java
index de515e9..12669ce 100644
--- a/framework/src/org/apache/cordova/ContactAccessor.java
+++ b/framework/src/org/apache/cordova/ContactAccessor.java
@@ -84,7 +84,8 @@ public abstract class ContactAccessor {
               map.put("displayName", true);
             }
             else if (key.startsWith("name")) {
-              map.put("name", true);
+                map.put("displayName", true);
+                map.put("name", true);
             }
             else if (key.startsWith("nickname")) {
               map.put("nickname", true);


Mime
View raw message