diff --git a/src/com/android/exchange/adapter/ContactsSyncAdapter.java b/src/com/android/exchange/adapter/ContactsSyncAdapter.java index 400607a35..81b683c53 100644 --- a/src/com/android/exchange/adapter/ContactsSyncAdapter.java +++ b/src/com/android/exchange/adapter/ContactsSyncAdapter.java @@ -1538,6 +1538,11 @@ public class ContactsSyncAdapter extends AbstractSyncAdapter { 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 { // Get them all atomically EntityIterator ei = cr.queryEntities(uri, RawContacts.DIRTY + "=1", null, null);