From 054180baa7ba0436409ed34778a37dd0afeff6b8 Mon Sep 17 00:00:00 2001 From: Bartek Przybylski Date: Mon, 2 Jul 2012 18:07:28 +0200 Subject: [PATCH] dont show creation date until its fixed --- src/eu/alefzero/owncloud/ui/fragment/FileDetailFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eu/alefzero/owncloud/ui/fragment/FileDetailFragment.java b/src/eu/alefzero/owncloud/ui/fragment/FileDetailFragment.java index c9863caf..1ab92842 100644 --- a/src/eu/alefzero/owncloud/ui/fragment/FileDetailFragment.java +++ b/src/eu/alefzero/owncloud/ui/fragment/FileDetailFragment.java @@ -345,11 +345,11 @@ public class FileDetailFragment extends SherlockFragment implements } /** - * In ownCloud 3.0.3 and 4.0.0 there is a bug that SabreDAV does not return + * In ownCloud 3.X.X and 4.X.X there is a bug that SabreDAV does not return * the time that the file was created. There is a chance that this will * be fixed in future versions. Use this method to check if this version of * ownCloud has this fix. - * @return True, if ownCloud the ownCloud version is > 3.0.4 and 4.0.4 + * @return True, if ownCloud the ownCloud version is supporting creationg time */ private boolean ocVersionSupportsTimeCreated(){ if(mIntent != null){ @@ -358,7 +358,7 @@ public class FileDetailFragment extends SherlockFragment implements AccountManager accManager = (AccountManager) getActivity().getSystemService(Context.ACCOUNT_SERVICE); OwnCloudVersion ocVersion = new OwnCloudVersion(accManager .getUserData(ocAccount, AccountAuthenticator.KEY_OC_VERSION)); - if(ocVersion.compareTo(new OwnCloudVersion(0x030004)) >= 0 || ocVersion.compareTo(new OwnCloudVersion(0x040004)) >= 0){ + if(ocVersion.compareTo(new OwnCloudVersion(0x030000)) < 0) { return true; } } -- 2.11.0