Bump version: Assume fixed in 4.0.4... hopefully
authorLennart Rosam <lennart@familie-rosam.de>
Thu, 28 Jun 2012 11:36:26 +0000 (13:36 +0200)
committerLennart Rosam <lennart@familie-rosam.de>
Thu, 28 Jun 2012 11:36:26 +0000 (13:36 +0200)
src/eu/alefzero/owncloud/ui/fragment/FileDetailFragment.java

index 4509372..2badae1 100644 (file)
@@ -349,7 +349,7 @@ public class FileDetailFragment extends SherlockFragment implements
      * the time that the file was created. There is a chance that this will\r
      * be fixed in future versions. Use this method to check if this version of\r
      * ownCloud has this fix.\r
      * the time that the file was created. There is a chance that this will\r
      * be fixed in future versions. Use this method to check if this version of\r
      * ownCloud has this fix.\r
-     * @return True, if ownCloud the ownCloud version is > 3.0.4 and 4.0.1\r
+     * @return True, if ownCloud the ownCloud version is > 3.0.4 and 4.0.4\r
      */\r
     private boolean ocVersionSupportsTimeCreated(){\r
         if(mIntent != null){\r
      */\r
     private boolean ocVersionSupportsTimeCreated(){\r
         if(mIntent != null){\r
@@ -358,7 +358,7 @@ public class FileDetailFragment extends SherlockFragment implements
                 AccountManager accManager = (AccountManager) getActivity().getSystemService(Context.ACCOUNT_SERVICE);\r
                 OwnCloudVersion ocVersion = new OwnCloudVersion(accManager\r
                         .getUserData(ocAccount, AccountAuthenticator.KEY_OC_VERSION));\r
                 AccountManager accManager = (AccountManager) getActivity().getSystemService(Context.ACCOUNT_SERVICE);\r
                 OwnCloudVersion ocVersion = new OwnCloudVersion(accManager\r
                         .getUserData(ocAccount, AccountAuthenticator.KEY_OC_VERSION));\r
-                if(ocVersion.compareTo(new OwnCloudVersion(0x030004)) >= 0 || ocVersion.compareTo(new OwnCloudVersion(0x040001)) >= 0){\r
+                if(ocVersion.compareTo(new OwnCloudVersion(0x030004)) >= 0 || ocVersion.compareTo(new OwnCloudVersion(0x040004)) >= 0){\r
                     return true;\r
                 }\r
             }\r
                     return true;\r
                 }\r
             }\r