From 31d32567ce92d2a3bc77865a6a1cec2635c9dc46 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期二, 28 十一月 2023 09:41:55 +0800 Subject: [PATCH] 2023年11月28日09:41:45 --- app/src/main/java/com/hdl/photovoltaic/other/HdlOtaLogic.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/other/HdlOtaLogic.java b/app/src/main/java/com/hdl/photovoltaic/other/HdlOtaLogic.java index 0d490d5..3eb589a 100644 --- a/app/src/main/java/com/hdl/photovoltaic/other/HdlOtaLogic.java +++ b/app/src/main/java/com/hdl/photovoltaic/other/HdlOtaLogic.java @@ -590,7 +590,7 @@ fos.flush(); fos.close(); is.close(); - //todo 鐢ㄦ埛缁堟瀹剁户缁鍙栨暟鎹�; + //todo 鐢ㄦ埛缁堟缁х画璇诲彇鏁版嵁; return false; } fos.write(buf, 0, len); @@ -661,6 +661,7 @@ Progress progress = new Progress(); progress.step = progressValue; progress.describe = describe; + progress.type = type; baseEventBus.setType(type); baseEventBus.setData(progress); EventBus.getDefault().post(baseEventBus); @@ -680,6 +681,8 @@ public int step; //杩涘害鎻忚堪淇℃伅 public String describe; + //琛ㄧず鏄┍鍔紝鍥轰欢; + public String type; } -- Gitblit v1.8.0