From 5b77d9d57a6cddb474a66ca54401ad5ab0892db3 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 23 十一月 2022 14:23:42 +0800
Subject: [PATCH] Merge branch 'dev--wxr' into LcSdkV1

---
 HDL_ON/UI/UI2/UserPage.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/UserPage.cs b/HDL_ON/UI/UI2/UserPage.cs
index e8c5add..506cee4 100644
--- a/HDL_ON/UI/UI2/UserPage.cs
+++ b/HDL_ON/UI/UI2/UserPage.cs
@@ -131,8 +131,13 @@
 
 #if __Android__
                 //寮�鍚畾浣嶆湇鍔�
-                Shared.Application.StartGPSLocationService();
-
+                try
+                {
+                    Shared.Application.StartGPSLocationService();
+                }catch(Exception ex)
+                {
+                    MainPage.Log("寮�鍚畾浣嶆湇鍔″紓甯�:" + ex.Message);
+                }
                 if (DB_ResidenceData.Instance.NeedTip) {
                     DB_ResidenceData.Instance.LastTipTime = DateTime.Now;
                     if (CN.Jpush.Android.Api.JPushInterface.IsNotificationEnabled(Shared.Application.Activity) != 1)

--
Gitblit v1.8.0