任务组bug修复,修复子任务下载完成后重新下载的问题
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
<application
|
||||
android:allowBackup="true"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true">
|
||||
|
||||
</application>
|
||||
|
@ -168,6 +168,7 @@ class Configuration {
|
||||
}
|
||||
field.setAccessible(true);
|
||||
String value = properties.getProperty(field.getName());
|
||||
if (TextUtils.isEmpty(value) || value.equalsIgnoreCase("null")) continue;
|
||||
Class<?> type = field.getType();
|
||||
if (type == String.class) {
|
||||
field.set(this, value);
|
||||
|
@ -110,7 +110,7 @@ public class UploadTask extends AbsNormalTask<UploadEntity> {
|
||||
saveData(IEntity.STATE_POST_PRE, 0);
|
||||
}
|
||||
|
||||
@Override public void onStart() {
|
||||
@Override public void onStart(long startLocation) {
|
||||
sendInState2Target(ISchedulers.START);
|
||||
saveData(IEntity.STATE_RUNNING, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user