X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/9820893fd91b627fe51b4f61f3b9ebe8dc783a3c..6cdd830a7be28b77688efc3cd62857c1e71a1342:/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 33fef5e0..7995797d 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, @@ -182,13 +182,14 @@ public class FileDetailFragment extends FileFragment implements @Override public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); - if (mAccount != null) { - OCFile file = ((FileActivity)getActivity()).getStorageManager(). - getFileByPath(getFile().getRemotePath()); - if (file != null) { - setFile(file); - } - } + // TODO: Remove this code. (Updated no needed) +// if (mAccount != null) { +// OCFile file = ((FileActivity)getActivity()).getStorageManager(). +// getFileByPath(getFile().getRemotePath()); +// if (file != null) { +// setFile(file); +// } +// } }