fix bug https://github.com/AriaLyy/Aria/issues/542 fix bug https://github.com/AriaLyy/Aria/issues/547 修复下载失败时,中断重试无效的问题 增加忽略权限检查的api,`ignoreCheckPermissions()`pull/617/head
							parent
							
								
									91daecd039
								
							
						
					
					
						commit
						669aa6981c
					
				| @ -1,55 +0,0 @@ | ||||
| /* | ||||
|  * Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria)
 | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *      http://www.apache.org/licenses/LICENSE-2.0
 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| package com.arialyy.aria.core.listener; | ||||
| 
 | ||||
| import com.arialyy.aria.exception.BaseException; | ||||
| 
 | ||||
| /** | ||||
|  * Created by lyy on 2017/2/23. | ||||
|  */ | ||||
| class UploadListener implements IUploadListener { | ||||
|   @Override public void onPre() { | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   @Override public void onStart(long startLocation) { | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   @Override public void onResume(long resumeLocation) { | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   @Override public void onStop(long stopLocation) { | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   @Override public void onProgress(long currentLocation) { | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   @Override public void onCancel() { | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   @Override public void onComplete() { | ||||
| 
 | ||||
|   } | ||||
| 
 | ||||
|   @Override public void onFail(boolean needRetry, BaseException e) { | ||||
| 
 | ||||
|   } | ||||
| } | ||||
| @ -1,15 +0,0 @@ | ||||
| { | ||||
|     // 使用 IntelliSense 了解相关属性。  | ||||
|     // 悬停以查看现有属性的描述。 | ||||
|     // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | ||||
|     "version": "0.2.0", | ||||
|     "configurations": [ | ||||
|         { | ||||
|             "name": "Python: 当前文件", | ||||
|             "type": "python", | ||||
|             "request": "launch", | ||||
|             "program": "${file}", | ||||
|             "console": "integratedTerminal" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
| @ -1,6 +0,0 @@ | ||||
| { | ||||
|     "python.linting.pylintEnabled": false, | ||||
|     "python.linting.pep8Enabled": true, | ||||
|     "python.linting.enabled": true, | ||||
|     "python.pythonPath": "/usr/local/bin/python3.7" | ||||
| } | ||||
									
										Binary file not shown.
									
								
							
						
					Loading…
					
					
				
		Reference in new issue