Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BYLAppRobot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuyang
BYLAppRobot
Commits
d8629fba
Commit
d8629fba
authored
Oct 25, 2018
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结果上报提前,图片上传放入后台处理
parent
84e74eae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Task.kt
app/src/main/java/com/duolebo/blyrobot/data/Task.kt
+8
-2
No files found.
app/src/main/java/com/duolebo/blyrobot/data/Task.kt
View file @
d8629fba
...
...
@@ -81,6 +81,12 @@ class Task : IAppBaseCallback {
}
fun
start
()
{
//如果之前的上传任务还在执行,进行取消
if
(!
uploadId
.
isNullOrEmpty
())
{
UploadService
.
stopUpload
(
uploadId
)
}
this
.
status
=
"1"
this
.
prepareReport
()
// 启动应用
...
...
@@ -133,8 +139,8 @@ class Task : IAppBaseCallback {
AdbUtil
.
stopApp
(
this
.
apkInfo
.
packageName
)
// 取消ftp上传
if
(!
uploadId
.
isNullOrEmpty
())
UploadService
.
stopUpload
(
uploadId
)
//
if (!uploadId.isNullOrEmpty())
//
UploadService.stopUpload(uploadId)
}
private
fun
finish
(
result
:
Boolean
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment