Support setting ContactsContract.CALLER_IS_SYNCADAPTER
in all CRUD APIs
#308
Labels
enhancement
New feature or request
Problem
As discussed in #301, read-only Data rows can only be updated when
ContactsContract.CALLER_IS_SYNCADAPTER
is set to true for the update operation. With the addition of #306, users will be able to insert read-only Data rows. However, they (sync adapters) will not be able to update them.Solution
Add a property called
isSyncAdapter
to thecontacts.core.Contacts
API that can be set during API instance initialization. Use it to set the value ofContactsContract.CALLER_IS_SYNCADAPTER
in all CRUD APIs provided in the library.setup-contacts-api.md
,about-api-entities.md
)callerIsSyncAdapter: Boolean
parameter #313gh-page
branchThe text was updated successfully, but these errors were encountered: