Comment extra in requestSync

This commit is contained in:
Dominik Schürmann 2014-08-20 23:56:17 +02:00
parent 6e3af6605a
commit 3ace5052e7

View File

@ -100,6 +100,7 @@ public class ContactSyncAdapterService extends Service {
public static void requestSync(Context context) {
Bundle extras = new Bundle();
// no need to wait for internet connection!
extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
ContentResolver.requestSync(
new Account(context.getString(R.string.app_name), Constants.PACKAGE_NAME),