mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
Comment extra in requestSync
This commit is contained in:
parent
6e3af6605a
commit
3ace5052e7
@ -100,6 +100,7 @@ public class ContactSyncAdapterService extends Service {
|
|||||||
|
|
||||||
public static void requestSync(Context context) {
|
public static void requestSync(Context context) {
|
||||||
Bundle extras = new Bundle();
|
Bundle extras = new Bundle();
|
||||||
|
// no need to wait for internet connection!
|
||||||
extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
|
extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
|
||||||
ContentResolver.requestSync(
|
ContentResolver.requestSync(
|
||||||
new Account(context.getString(R.string.app_name), Constants.PACKAGE_NAME),
|
new Account(context.getString(R.string.app_name), Constants.PACKAGE_NAME),
|
||||||
|
Loading…
Reference in New Issue
Block a user