mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-04 15:28:21 +03:00
* full support for Directory API (Android Lollipop or later) * best effort to handle any kind errors (missing file, revoked permissions, etc) and recover the download * implemented directory choosing * fix download database version upgrading * misc. cleanup * do not release permission on the old save path (if the user change the download directory) under SAF api
18 lines
442 B
Java
18 lines
442 B
Java
package us.shandian.giga.get;
|
|
|
|
import android.support.annotation.NonNull;
|
|
|
|
public class FinishedMission extends Mission {
|
|
|
|
public FinishedMission() {
|
|
}
|
|
|
|
public FinishedMission(@NonNull DownloadMission mission) {
|
|
source = mission.source;
|
|
length = mission.length;// ¿or mission.done?
|
|
timestamp = mission.timestamp;
|
|
kind = mission.kind;
|
|
storage = mission.storage;
|
|
|
|
}
|
|
}
|