From 239a04a9ce0652de805e05947deb658d004efc46 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 01 二月 2021 14:17:55 +0800 Subject: [PATCH] 2021-2-1-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 933002e..9d0d33f 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