From 502d4ff743c1645adb469ab89c24826c4ec38f28 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 05 二月 2021 15:40:47 +0800 Subject: [PATCH] 2021-2-5-2 --- 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