X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/435b31ba4f3597cc7a43270cd4a54fb0180956c1..c6b553f635c7cbb4f21d41a6fa82e204447c16cf:/src/eu/alefzero/owncloud/ui/activity/AuthenticatorActivity.java diff --git a/src/eu/alefzero/owncloud/ui/activity/AuthenticatorActivity.java b/src/eu/alefzero/owncloud/ui/activity/AuthenticatorActivity.java index 77490eba..ab31a5d5 100644 --- a/src/eu/alefzero/owncloud/ui/activity/AuthenticatorActivity.java +++ b/src/eu/alefzero/owncloud/ui/activity/AuthenticatorActivity.java @@ -204,8 +204,9 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity setResult(RESULT_OK, intent); Bundle bundle = new Bundle(); bundle.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); - getContentResolver().startSync(ProviderTableMeta.CONTENT_URI, - bundle); + //getContentResolver().startSync(ProviderTableMeta.CONTENT_URI, + // bundle); + ContentResolver.requestSync(account, "org.owncloud", bundle); /* * if @@ -221,7 +222,10 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity tv.setError(message); } } - + public void onCancelClick(View view) { + finish(); + } + public void onOkClick(View view) { String prefix = ""; String url = ((TextView) findViewById(R.id.host_URL)).getText()