incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [3/4] android commit: CB-844: Contact.find does not return urls
Date Wed, 30 May 2012 21:47:45 GMT
CB-844: Contact.find does not return urls


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/5f93a26e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/5f93a26e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/5f93a26e

Branch: refs/heads/CordovaWebView
Commit: 5f93a26eeada8a257b992a9fc9177eada4c4f343
Parents: d79403e
Author: macdonst <simon.macdonald@gmail.com>
Authored: Wed May 30 12:52:25 2012 -0400
Committer: macdonst <simon.macdonald@gmail.com>
Committed: Wed May 30 12:52:25 2012 -0400

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


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/5f93a26e/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 6adcf00..2237e7e 100644
--- a/framework/src/org/apache/cordova/ContactAccessorSdk5.java
+++ b/framework/src/org/apache/cordova/ContactAccessorSdk5.java
@@ -437,14 +437,14 @@ public class ContactAccessorSdk5 extends ContactAccessor {
                 contact.put("ims", ims);
             }
             if (websites.length() > 0) {
-                contact.put("websites", websites);
+                contact.put("urls", websites);
             }
             if (photos.length() > 0) {
                 contact.put("photos", photos);
             }
     }
     catch (JSONException e) {
-      Log.e(LOG_TAG,e.getMessage(),e);
+        Log.e(LOG_TAG,e.getMessage(),e);
     }
     return contact;
   }


Mime
View raw message