Remove temporary code that disabled contacts upsync
Change-Id: I41273aeac3059a49a1fffc7904e580a8544724bf
This commit is contained in:
parent
805562e26f
commit
ffe998914d
@ -1627,11 +1627,6 @@ public class ContactsSyncAdapter extends AbstractSyncAdapter {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO REMOVE THIS HACK THAT PREVENTS UPLOAD BASED ON GSERVICES SETTING
|
|
||||||
if (android.provider.Settings.Gservices.getInt(cr, "contacts_v3_upsync_enabled", 0) == 0) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Get them all atomically
|
// Get them all atomically
|
||||||
EntityIterator ei = cr.queryEntities(uri, RawContacts.DIRTY + "=1", null, null);
|
EntityIterator ei = cr.queryEntities(uri, RawContacts.DIRTY + "=1", null, null);
|
||||||
|
Loading…
Reference in New Issue
Block a user