1
0
mirror of https://github.com/etesync/android synced 2025-01-11 00:01:12 +00:00

Set STARRED as integer, not boolean (should fix #294)

This commit is contained in:
rfc2822 2014-08-10 18:56:19 +02:00
parent 225ffc07cf
commit 88972aed1d

View File

@ -609,7 +609,7 @@ public class LocalAddressBook extends LocalCollection<Contact> {
.withValue(entryColumnUID(), contact.getUid())
.withValue(entryColumnETag(), contact.getETag())
.withValue(COLUMN_UNKNOWN_PROPERTIES, contact.getUnknownProperties())
.withValue(RawContacts.STARRED, contact.isStarred());
.withValue(RawContacts.STARRED, contact.isStarred() ? 1 : 0);
}