From 6692d867a0876b014be3cbd64bc3a237a026dc2d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 18 十月 2022 09:57:15 +0800
Subject: [PATCH] 修改安卓隐私确认弹窗,隐私协议英文的问题

---
 HDL_ON/Common/ApiUtlis.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/Common/ApiUtlis.cs b/HDL_ON/Common/ApiUtlis.cs
index 38f4711..8369a48 100644
--- a/HDL_ON/Common/ApiUtlis.cs
+++ b/HDL_ON/Common/ApiUtlis.cs
@@ -89,6 +89,8 @@
 
             string code = StateCode.SUCCESS;
 
+            Inverter.Ins.H5Page = null;//閲嶇疆鍏変紡椤甸潰
+
             var downloadDataThread = new System.Threading.Thread(() =>
             {
                 MainPage.Log($"杩涘叆璇诲彇浜戠鏁版嵁绾跨▼");
@@ -318,7 +320,7 @@
                     { IsBackground = true }.Start();
 
                     //===================璇诲彇閫昏緫鍒楄〃==========================
-                    UI.UI2.Intelligence.Automation.MainView.GetLogicList();
+                    UI.UI2.Intelligence.Automation.MainView.GetLogicList(true);
 
                     //===================璇诲彇鍙瀵硅鏁版嵁==========================
                     //鍒ゆ柇鏄惁鏈夊彲瑙嗗璁叉暟鎹紝鏈夊垯鏄剧ず鍙瀵硅icon
@@ -403,6 +405,9 @@
 
                     //======================瀹夐槻====================
                     GetSecurityList();
+                    //======================娉ㄥ唽鎺ㄩ��====================
+                    httpRequest.RegisteredPush();
+
 
                 }
                 catch (Exception ex)
@@ -439,7 +444,7 @@
                 {
                     while (endTime > DateTime.Now)
                     {
-                        if (DownloadDataComplete)
+                        if (DownloadDataComplete && complateDevice && complateScene)
                         {
                             break;
                         }

--
Gitblit v1.8.0