From 7fa4b66cd58a51c9e7e512ee652282825d16e5dc Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 27 十月 2020 15:13:21 +0800
Subject: [PATCH] 2020-10-27 1.增加iOS越狱和Androidr Root检测,强制关闭APP

---
 Crabtree/SmartHome/HDL/Operation/CommonUtlis.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Crabtree/SmartHome/HDL/Operation/CommonUtlis.cs b/Crabtree/SmartHome/HDL/Operation/CommonUtlis.cs
index bdb616e..1d6fc81 100644
--- a/Crabtree/SmartHome/HDL/Operation/CommonUtlis.cs
+++ b/Crabtree/SmartHome/HDL/Operation/CommonUtlis.cs
@@ -157,11 +157,11 @@
             var mes = "Your phone has been ROOT and you cannot use the APP.";
 #endif
 
-            if (Shared.JailBreak.JailBreak.ISJailBreak ()) {
+            if (Shared.HDLUtils.ISJailBreak ()) {
 
                 Alert alert = new Alert ("", mes, Language.StringByID (SimpleControl.R.MyInternationalizationString.Confrim));
                 alert.ResultEventHandler += (sender2, e2) => {
-                    Shared.JailBreak.JailBreak.ExitApplication ();
+                    Shared.HDLUtils.ExitApplication ();
                 };
                 alert.Show ();
             }

--
Gitblit v1.8.0