xwh пре 2 месеци
родитељ
комит
caa62486e2
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4 3
      app/src/main/java/com/hh/hhomc/services/BackgroundService.java

+ 4 - 3
app/src/main/java/com/hh/hhomc/services/BackgroundService.java

@@ -144,9 +144,10 @@ public class BackgroundService extends Service {
     private Button firstBtn;
     private String apkFileName = "k8.apk";
 
-    long apkTaskId;
+    private long apkTaskId;
 
-    IDeviceUI iDeviceUI;
+    private IDeviceUI iDeviceUI;
+    private Future future;  //log 上传处理线程
 
     private BroadcastReceiver receiver = new BroadcastReceiver() {
         @Override
@@ -910,7 +911,7 @@ public class BackgroundService extends Service {
             startDownloadApk(mBean);
         }
     }
-    private Future future;
+
     private void uploadLogFileList(ServerActionBean serverActionBean) {
         List<String> waitUploadLogPaths = serverActionBean.getPaths();
         if (waitUploadLogPaths == null || waitUploadLogPaths.size() == 0) {