am d1d87b4d
: Merge change 23709 into eclair
Merge commit 'd1d87b4dc9019d0a3ab9564f3d976eca339b8771' * commit 'd1d87b4dc9019d0a3ab9564f3d976eca339b8771': Put in temporary code to prevent contacts upsync based on Gservices setting
This commit is contained in:
commit
d4c30506d5
@ -1538,6 +1538,11 @@ 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