Comparison fix now that remote ids can be negative

pull/14/head
Sam Bosley 12 years ago
parent 0a8f523551
commit 646470c47b

@ -450,7 +450,7 @@ public final class ActFmSyncService {
for(cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext()) {
metadata.readFromCursor(cursor);
if(metadata.containsNonNullValue(TagMetadata.TAG_UUID) &&
metadata.getValue(TagMetadata.TAG_UUID) > 0) {
metadata.getValue(TagMetadata.TAG_UUID) != 0) {
params.add("tag_ids[]");
params.add(metadata.getValue(TagMetadata.TAG_UUID));
} else {

Loading…
Cancel
Save