From 153dbb03425d1469bc8b2391f65869fd0a4b789c Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Tue, 17 Jul 2012 15:28:27 +0200 Subject: [PATCH] Be sure that root directoriy is listed when the synchronization is really fast --- AndroidManifest.xml | 2 +- src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9e2a64ad..9c4b2f94 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,7 +18,7 @@ --> + android:versionName="0.1.164B" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java b/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java index 81a8da1b..f9de1ac2 100644 --- a/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java +++ b/src/eu/alefzero/owncloud/ui/activity/FileDisplayActivity.java @@ -644,7 +644,8 @@ public class FileDisplayActivity extends SherlockFragmentActivity implements fillBlankRoot = (mCurrentDir != null); } - if (synchFolderRemotePath != null && mCurrentDir != null && (mCurrentDir.getRemotePath().equals(synchFolderRemotePath) || fillBlankRoot) ) { + if ((synchFolderRemotePath != null && mCurrentDir != null && (mCurrentDir.getRemotePath().equals(synchFolderRemotePath))) + || fillBlankRoot ) { FileListFragment fileListFragment = (FileListFragment) getSupportFragmentManager() .findFragmentById(R.id.fileList); mCurrentDir = getStorageManager().getFileByPath(synchFolderRemotePath); -- 2.11.0