1
0
mirror of https://github.com/etesync/android synced 2024-11-15 20:38:58 +00:00

LocalGroup: correctly check if a group is local only or not.

This commit is contained in:
Tom Hacohen 2017-05-16 14:28:39 +01:00
parent f9ce3ee526
commit 09685d08e3

View File

@ -20,6 +20,7 @@ import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
import android.provider.ContactsContract.Groups;
import android.provider.ContactsContract.RawContacts;
import android.provider.ContactsContract.RawContacts.Data;
import android.text.TextUtils;
import com.etesync.syncadapter.App;
@ -79,7 +80,7 @@ public class LocalGroup extends AndroidGroup implements LocalResource {
@Override
public boolean isLocalOnly() {
return false;
return TextUtils.isEmpty(getETag());
}
@Override