Comment extra in requestSync
This commit is contained in:
1 parent
6e3af6605a
commit
3ace5052e7
1 file changed
+1
+1
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user