wxr
2024-10-23 47f179be722a61c95cc03c8f90e1aa91c12d1124
HDL-ON_Android/Application.cs
@@ -12,9 +12,6 @@
using CN.Jpush.Android.Api;
using HDL_ON;
using Java.Util;
using Microsoft.AppCenter;
using Microsoft.AppCenter.Analytics;
using Microsoft.AppCenter.Crashes;
using Shared;
namespace HDL_ON_Android
@@ -39,7 +36,6 @@
        public Application(IntPtr handle, Android.Runtime.JniHandleOwnership ownerShip) : base(handle, ownerShip) { }
        public override void OnCreate()
        {
            if (Shared.Application.Activity != null)
            {
                //reStartApp(this);
@@ -109,7 +105,8 @@
                multicast.Acquire();
                //后台回到前台
                new HDL_ON.UI.AppUnlockPage().LoadPage();
                //new HDL_ON.UI.AppUnlockPage().LoadPage();
            }
        }
@@ -124,7 +121,7 @@
                BusSocketStop();
                multicast.Release();
                //进入后台
                UserInfo.Current.unlockTime = DateTime.Now;
                //UserInfo.Current.unlockTime = DateTime.Now;
            }
        }