From 2ad5324544c95d79b6d354c11940ff682b1b5f0f Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 02 三月 2021 17:47:45 +0800
Subject: [PATCH] 2021-3-2-1

---
 Crabtree/SmartHome/HDL/Common/CommonUtlis.cs |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Common/CommonUtlis.cs b/Crabtree/SmartHome/HDL/Common/CommonUtlis.cs
index c3109fd..b023a58 100644
--- a/Crabtree/SmartHome/HDL/Common/CommonUtlis.cs
+++ b/Crabtree/SmartHome/HDL/Common/CommonUtlis.cs
@@ -159,14 +159,14 @@
             var mes = "Your phone has been ROOT and you cannot use the APP.";
 #endif
 
-            if (Shared.HDLUtils.ISJailBreak ()) {
+            //if (Shared.HDLUtils.ISJailBreak ()) {
 
-                Alert alert = new Alert ("", mes, Language.StringByID (SimpleControl.R.MyInternationalizationString.Confrim));
-                alert.ResultEventHandler += (sender2, e2) => {
-                    Shared.HDLUtils.ExitApplication ();
-                };
-                alert.Show ();
-            }
+            //    Alert alert = new Alert ("", mes, Language.StringByID (SimpleControl.R.MyInternationalizationString.Confrim));
+            //    alert.ResultEventHandler += (sender2, e2) => {
+            //        Shared.HDLUtils.ExitApplication ();
+            //    };
+            //    alert.Show ();
+            //}
 
 
         }
@@ -466,7 +466,6 @@
         {
             var backuplist = IO.FileUtils.ReadFiles ();
             var mFileList = backuplist.FindAll ((obj) => obj != "null" && obj != UserConfig.configFile && obj != UserInfo.GlobalRegisterFile && obj != "AccountListDB" && obj != CommonConfig.ConfigFile && (!obj.Contains (".json")));
-
             if (mFileList.Count <= 0) return;
 
             int resultCount = mFileList.Count;

--
Gitblit v1.8.0