X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/6f189bffe1aece71870676b3413c5ce7eb913308..a238d0635ad16d6adc97d08ef0fa89b8afb18b46:/src/eu/alefzero/owncloud/datamodel/OCFile.java diff --git a/src/eu/alefzero/owncloud/datamodel/OCFile.java b/src/eu/alefzero/owncloud/datamodel/OCFile.java index 7284604c..b23abf9a 100644 --- a/src/eu/alefzero/owncloud/datamodel/OCFile.java +++ b/src/eu/alefzero/owncloud/datamodel/OCFile.java @@ -157,20 +157,6 @@ public class OCFile implements Parcelable, Comparable { } /** - * Use this to check if this file is downloading - * - * @return true if it is in a download in progress - */ - public boolean isDownloading() { - if (mLocalPath != null && mLocalPath.length() > 0) { - String savePath = FileDownloader.getSavePath(); - File file = new File(FileDownloader.getTemporalPath() + mLocalPath.substring(savePath.length())); - return (file.exists()); - } - return false; - } - - /** * The path, where the file is stored locally * * @return The local path to the file