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:
parent
f9ce3ee526
commit
09685d08e3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user