X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/dc8c32fb3f7033d6fdfa7e1b64eaa77884da678a..df4b83cb75915caaf7ad49848ebb6d340045478b:/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java diff --git a/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java b/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java index ef9da411..43b15477 100644 --- a/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java +++ b/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java @@ -69,7 +69,7 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter { query.setEntity(new StringEntity(WebdavUtils.prepareXmlForPropFind())); TreeNode root = this.fireRequest(query); - commitToDatabase(root, null); + // commitToDatabase(root, null); } catch (OperationCanceledException e) { e.printStackTrace(); } catch (AuthenticatorException e) { @@ -78,9 +78,9 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter { } catch (IOException e) { syncResult.stats.numIoExceptions++; e.printStackTrace(); - } catch (RemoteException e) { - e.printStackTrace(); - } + }// catch (RemoteException e) { + // e.printStackTrace(); + // q} } private void commitToDatabase(TreeNode root, String parentId) throws RemoteException { @@ -110,7 +110,7 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter { cv.put(ProviderTableMeta.FILE_PATH, n.getProperty(NodeProperty.PATH)); cv.put(ProviderTableMeta.FILE_ACCOUNT_OWNER, this.getAccount().name); Uri entry = this.getContentProvider().insert(ProviderTableMeta.CONTENT_URI_FILE, cv); - Log.d(TAG, "Inserting new entry " + path + name); + Log.d(TAG, "Inserting new entry " + path); c = this.getContentProvider().query(entry, null, null, null, null); c.moveToFirst(); }