X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/bea36f23b0a22070891f534fa9007d0548d04e37..c6edcab5a2f81773f05b8f796f2c356c2c2aeb4d:/src/com/owncloud/android/ui/fragment/FileDetailFragment.java diff --git a/src/com/owncloud/android/ui/fragment/FileDetailFragment.java b/src/com/owncloud/android/ui/fragment/FileDetailFragment.java index 328cce66..8d6ad641 100644 --- a/src/com/owncloud/android/ui/fragment/FileDetailFragment.java +++ b/src/com/owncloud/android/ui/fragment/FileDetailFragment.java @@ -1,6 +1,6 @@ /* ownCloud Android client application * Copyright (C) 2011 Bartek Przybylski - * Copyright (C) 2012-2013 ownCloud Inc. + * Copyright (C) 2012-2014 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, @@ -152,13 +152,14 @@ public class FileDetailFragment extends FileFragment implements @Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); - if (mAccount != null) { - OCFile file = mContainerActivity.getStorageManager(). - getFileByPath(getFile().getRemotePath()); - if (file != null) { - setFile(file); - } - } + // TODO: Remove this code. (Updated no needed) +// if (mAccount != null) { +// OCFile file = mContainerActivity.getStorageManager(). +// getFileByPath(getFile().getRemotePath()); +// if (file != null) { +// setFile(file); +// } +// } }