cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daserge <...@git.apache.org>
Subject [GitHub] cordova-plugin-contacts pull request: CB-5308 Return rawId instead...
Date Thu, 26 Nov 2015 15:53:53 GMT
Github user daserge commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-contacts/pull/87#discussion_r45991178
  
    --- Diff: src/android/ContactAccessorSdk5.java ---
    @@ -1027,7 +1027,7 @@ else if (accounts.length > 1) {
         private String modifyContact(String id, JSONObject contact, String accountType, String
accountName) {
             // Get the RAW_CONTACT_ID which is needed to insert new values in an already
existing contact.
             // But not needed to update existing values.
    -        int rawId = (Integer.valueOf(getJsonString(contact, "rawId"))).intValue();
    +        String rawId = getJsonString(contact, "rawId");
    --- End diff --
    
    Should the type be String or long as stated in [the docs](http://developer.android.com/intl/ru/reference/android/provider/ContactsContract.Data.html)?
Or does not this matter?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message