You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2015/09/29 22:13:23 UTC
[2/5] cordova-plugin-contacts git commit: Merge branch 'CB-8537' of
https://github.com/rob-close/cordova-plugin-contacts into CB-8537
Merge branch 'CB-8537' of https://github.com/rob-close/cordova-plugin-contacts into CB-8537
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/commit/c91ca159
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/tree/c91ca159
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/diff/c91ca159
Branch: refs/heads/master
Commit: c91ca15998da557322463d51788a532d8332a920
Parents: 3588895 f8b6fb8
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Sep 29 11:16:49 2015 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Sep 29 11:16:49 2015 -0700
----------------------------------------------------------------------
src/android/ContactAccessorSdk5.java | 86 ++++++++++++++++---------------
1 file changed, 44 insertions(+), 42 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-contacts/blob/c91ca159/src/android/ContactAccessorSdk5.java
----------------------------------------------------------------------
diff --cc src/android/ContactAccessorSdk5.java
index 68eba61,de5da17..511e581
--- a/src/android/ContactAccessorSdk5.java
+++ b/src/android/ContactAccessorSdk5.java
@@@ -158,13 -157,8 +159,14 @@@ public class ContactAccessorSdk5 extend
}
} catch (JSONException e) {
// Multiple was not specified so we assume the default is true.
+ Log.e(LOG_TAG, e.getMessage(), e);
}
+
+ try {
+ hasPhoneNumber = options.getBoolean("hasPhoneNumber");
+ } catch (JSONException e) {
+ // hasPhoneNumber was not specified so we assume the default is false.
+ }
}
else {
searchTerm = "%";
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org