Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
Add resetFields options to save, for non id-aware jsclients.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquarg committed Jun 18, 2015
1 parent e9ab0f3 commit 99b2887
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 208 deletions.
3 changes: 2 additions & 1 deletion src/android/ContactAccessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ protected String getJsonString(JSONObject obj, String property) {
*/
public abstract String save(JSONObject contact);

public abstract String save(JSONObject contact, String accountType, String accountName, boolean callerIsSyncAdapter);
public abstract String save(JSONObject contact, String accountType,
String accountName, boolean callerIsSyncAdapter, boolean resetFields);
/**
* Handles searching through SDK-specific contacts API.
*/
Expand Down
Loading

0 comments on commit 99b2887

Please sign in to comment.