Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 564edd0d authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

Remove implementation of ComparableOperation in DownloadFileOperation.java

parent 4711199c
Loading
Loading
Loading
Loading
+1 −15
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ import foundation.e.drive.utils.CommonUtils;
 * @author Vincent Bourgmayer
 * Encapsulate a global download process for a file
 */
public class DownloadFileOperation extends RemoteOperation implements ComparableOperation, Parcelable {
public class DownloadFileOperation extends RemoteOperation implements  Parcelable {
    private final static String TAG = DownloadFileOperation.class.getSimpleName();

    private final RemoteFile mRFile;
@@ -171,20 +171,6 @@ public class DownloadFileOperation extends RemoteOperation implements Comparable
        return new RemoteOperationResult( mResultCode );
    }

    /**
     * tell what type of operation is it
     * @return true if it is an operation for media's element, then false mean its a settings operation
     */
    @Override
    public boolean isMediaType(){
        return this.mSyncedState.isMediaType();
    }

    @Override
    public RemoteOperation toRemoteOperation() {
        return this;
    }

    @Override
    public int describeContents() {
        return 0;