Update sdk.atree and samples/browseable for lastest samples release
Synced to developers/samples/android commit 97b2cfe5ba6d8fa8daaf3273141b321b5fe9e910. Change-Id: I360cfa147e71dd519b841df41b4e878f86b9b27b
This commit is contained in:
@@ -250,9 +250,9 @@ class SyncAdapter extends AbstractThreadedSyncAdapter {
|
||||
// Update existing record
|
||||
Log.i(TAG, "Scheduling update: " + existingUri);
|
||||
batch.add(ContentProviderOperation.newUpdate(existingUri)
|
||||
.withValue(FeedContract.Entry.COLUMN_NAME_TITLE, title)
|
||||
.withValue(FeedContract.Entry.COLUMN_NAME_LINK, link)
|
||||
.withValue(FeedContract.Entry.COLUMN_NAME_PUBLISHED, published)
|
||||
.withValue(FeedContract.Entry.COLUMN_NAME_TITLE, match.title)
|
||||
.withValue(FeedContract.Entry.COLUMN_NAME_LINK, match.link)
|
||||
.withValue(FeedContract.Entry.COLUMN_NAME_PUBLISHED, match.published)
|
||||
.build());
|
||||
syncResult.stats.numUpdates++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user