Open pareshchouhan opened 8 years ago
As of Android M (probably 21+) the SyncAdapter doesn't sync automatically need to set it to sync via code by setting syncable to true, do this in SyncAdapter in the function onAccountCreated
ContentResolver.setIsSyncable(newAccount, context.getString(R.string .content_authority), 1);
As of Android M (probably 21+) the SyncAdapter doesn't sync automatically need to set it to sync via code by setting syncable to true, do this in SyncAdapter in the function onAccountCreated