From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 27 八月 2024 15:22:48 +0800 Subject: [PATCH] 代码备份 --- OnPro/HDL-ON_Android/SplashActivity.cs | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/OnPro/HDL-ON_Android/SplashActivity.cs b/OnPro/HDL-ON_Android/SplashActivity.cs index 33ba3bd..c598e9a 100644 --- a/OnPro/HDL-ON_Android/SplashActivity.cs +++ b/OnPro/HDL-ON_Android/SplashActivity.cs @@ -17,8 +17,8 @@ namespace HDL_ON_Android { - [Activity(Theme = "@style/SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTask, Name = "com.hdl.onpro.SplashActivity", ScreenOrientation = ScreenOrientation.Portrait)] - [IntentFilter(new string[] { "com.hdl.onpro.SplashActivity", Intent.ActionView })] + [Activity(Theme = "@style/SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTask, Name = "com.rongan.smart.SplashActivity", ScreenOrientation = ScreenOrientation.Portrait)] + [IntentFilter(new string[] { "com.rongan.smart.SplashActivity", Intent.ActionView })] public class SplashActivity : Activity { protected override void OnActivityResult(int requestCode, Result resultVal, Intent data) @@ -57,6 +57,9 @@ //StartActivityForResult(i, 1); //OverridePendingTransition(0, 0); //initAll(); +#if DEBUG + HDL_ON.OnAppConfig.Instance.isAgreePrivacyPolicy = true; +#endif if (HDL_ON.OnAppConfig.Instance.FirstRunApp || !HDL_ON.OnAppConfig.Instance.isAgreePrivacyPolicy) { //OnAppConfig.Instance.FirstRunApp = false; @@ -129,7 +132,7 @@ //#endif JPushInterface.Init(this); - Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); + Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "81d1c458ed"); BaseActivity.OnCreateActoin += (activity, application) => @@ -274,7 +277,7 @@ }; - HDLUtils.SetAuthoritiesName("com.hdl.onpro.fileProvider"); + HDLUtils.SetAuthoritiesName("com.rongan.smart.fileProvider"); //Shared.Application.IsGpsEnable = true; //bool isfirst = true; -- Gitblit v1.8.0