From: David A. Velasco Date: Tue, 17 Jul 2012 13:28:27 +0000 (+0200) Subject: Be sure that root directoriy is listed when the synchronization is really fast X-Git-Tag: oc-android-1.4.3~266 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/153dbb03425d1469bc8b2391f65869fd0a4b789c?ds=inline Be sure that root directoriy is listed when the synchronization is really fast --- 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);