diff --git a/AndroidManifest.xml b/AndroidManifest.xml index f5936312aa..a5281fc9db 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -72,9 +72,9 @@ android:name="android.content.SyncAdapter" android:resource="@xml/syncadapter_files"/> - + - + diff --git a/res/xml/syncadapter_files.xml b/res/xml/syncadapter_files.xml index 99c06d824d..3285ea8bf4 100644 --- a/res/xml/syncadapter_files.xml +++ b/res/xml/syncadapter_files.xml @@ -21,7 +21,7 @@ diff --git a/src/eu/alefzero/owncloud/OwnCloudMainScreen.java b/src/eu/alefzero/owncloud/OwnCloudMainScreen.java index 0b37f2db3f..2eb478af7e 100644 --- a/src/eu/alefzero/owncloud/OwnCloudMainScreen.java +++ b/src/eu/alefzero/owncloud/OwnCloudMainScreen.java @@ -312,7 +312,6 @@ public class OwnCloudMainScreen extends ListActivity { @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); - Log.i("asd", data+""); } @Override diff --git a/src/eu/alefzero/owncloud/db/ProviderMeta.java b/src/eu/alefzero/owncloud/db/ProviderMeta.java index 762562d89e..d5d86ca652 100644 --- a/src/eu/alefzero/owncloud/db/ProviderMeta.java +++ b/src/eu/alefzero/owncloud/db/ProviderMeta.java @@ -22,7 +22,7 @@ import android.provider.BaseColumns; public class ProviderMeta { - public static final String AUTHORITY_FILES = "org.owncloud.files"; + public static final String AUTHORITY_FILES = "org.owncloud"; public static final String DB_FILE = "owncloud.db"; public static final String DB_NAME = "filelist"; public static final int DB_VERSION = 1; diff --git a/src/eu/alefzero/owncloud/syncadapter/ContactSyncAdapter.java b/src/eu/alefzero/owncloud/syncadapter/ContactSyncAdapter.java index d63b6560e4..61564d5c57 100644 --- a/src/eu/alefzero/owncloud/syncadapter/ContactSyncAdapter.java +++ b/src/eu/alefzero/owncloud/syncadapter/ContactSyncAdapter.java @@ -52,7 +52,6 @@ public class ContactSyncAdapter extends AbstractOwnCloudSyncAdapter { cursor.getColumnIndex(ContactsContract.Contacts._ID)); String lookup = cursor.getString( cursor.getColumnIndex(ContactsContract.Contacts.LOOKUP_KEY)); - Log.d(TAG, "Found Contact id: " + id + " with lookupkey: "+lookup); try { FileInputStream fis = getContactVcard(lookup); @@ -65,12 +64,10 @@ public class ContactSyncAdapter extends AbstractOwnCloudSyncAdapter { lookup+ ".vcf" ); - byte[] b = new byte[fis.available()]; fis.read(b); query.setEntity(new ByteArrayEntity(b)); HttpResponse response = fireRawRequest(query); - if(201 != response.getStatusLine().getStatusCode()) { syncResult.stats.numIoExceptions++; } @@ -88,7 +85,6 @@ public class ContactSyncAdapter extends AbstractOwnCloudSyncAdapter { } } } - } protected Uri getUri() {