Merge change 3471 into donut
* changes: Fix contact creation.
This commit is contained in:
@@ -61,10 +61,10 @@ public abstract class AbstractTableMerger
|
||||
_SYNC_ID +"=? and " + _SYNC_ACCOUNT + "=?";
|
||||
private static final String SELECT_BY_ID = BaseColumns._ID +"=?";
|
||||
|
||||
// The last clause rejects events with a null _SYNC_VERSION if they've already been synced
|
||||
private static final String SELECT_UNSYNCED = ""
|
||||
+ _SYNC_DIRTY + " > 0 and (" + _SYNC_ACCOUNT + "=? or " + _SYNC_ACCOUNT + " is null) "
|
||||
+ "and (" + _SYNC_VERSION + " is not null or " + _SYNC_ACCOUNT + " is null)";
|
||||
private static final String SELECT_UNSYNCED =
|
||||
"(" + _SYNC_ACCOUNT + " IS NULL OR " + _SYNC_ACCOUNT + "=?) AND "
|
||||
+ "(" + _SYNC_ID + " IS NULL OR (" + _SYNC_DIRTY + " > 0 AND "
|
||||
+ _SYNC_VERSION + " IS NOT NULL))";
|
||||
|
||||
public AbstractTableMerger(SQLiteDatabase database,
|
||||
String table, Uri tableURL, String deletedTable,
|
||||
|
||||
Reference in New Issue
Block a user