From c22dd59b10c482b9245034c6a0bd3b645c427d31 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 14 一月 2022 13:39:25 +0800 Subject: [PATCH] 去掉禁止删除本地音乐文件权限 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 38 +++++++++++++++++++++++++------------- 1 files changed, 25 insertions(+), 13 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index fcf307c..5369bff 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -169,7 +169,7 @@ public void LoadView(UserInfo userInfo = null) { #if __Android__ - OnAppConfig.Instance.isAgreePrivacyPolicy = false; + OnAppConfig.Instance.isAgreePrivacyPolicy = true; #endif var btnIcon = new Button() { @@ -207,16 +207,16 @@ //return; if (b) { - //etAccount.Text = "tf@smarttech.com.ua";//鍥藉璐﹀彿锛屾湁浣忓畢锛岀櫥褰曟棤娉曟樉绀� //etAccount.Text = "13375012446";//娴嬭瘯鏈嶅姟鍣� //etAccount.Text = "1033326940@qq.com"; //etAccount.Text = "18022428438";//wjc //etAccount.Text = "13602944661";//kx - etAccount.Text = "13226233133";//璞嗚眴 - etAccount.Text = "18316672920"; + //etAccount.Text = "13226233133";//璞嗚眴 + //etAccount.Text = "18316672920"; //etAccount.Text = "18316120654";//tujie - etAccount.Text = "15626203746"; + //etAccount.Text = "15626203746"; //etAccount.Text = "13450425807";//榛勭婧� knx椤圭洰 + etAccount.Text = "18059593333"; } else { @@ -233,10 +233,10 @@ //etAccount.Text = "15971583093";//楂樿儨 //etAccount.Text = "15217626103";//鏄嗘槑閲戣寕椤圭洰 //etAccount.Text = "18598273624"; - //etAccount.Text = "tf@smarttech.com.ua"; + etAccount.Text = "tf@smarttech.com.ua"; //etAccount.Text = "18814122445";//钁f辰鏂� 澶╂渤鍔炲叕瀹� - etAccount.Text = "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 - //etAccount.Text = "18402017839";//wjc + //etAccount.Text = "18824864143";//"464027401@qq.com"; //"2791308028@qq.com";//13697499568 + etAccount.Text = "18402017839";//wjc //etAccount.Text = "13430286286";//cwc //etAccount.Text = "13709260805"; //etAccount.Text = "support5@hdlchina.com.cn"; @@ -246,9 +246,9 @@ } b = !b; etPassword.Text = "123456"; - if(etAccount.Text == "fslcjm5@163.com") + if(etAccount.Text == "tf@smarttech.com.ua") { - etPassword.Text = "a123456"; + etPassword.Text = "Smart2021"; } //etPassword.Text = "Hdl85521566"; btnLogin.IsSelected = true; @@ -1119,11 +1119,11 @@ #region 闅愮鏀跨瓥 AddServiceAgreementControl(bodyView); -#endregion + #endregion } -#region 鈻� 鏈嶅姟鍗忚___________________________ + #region 鈻� 鏈嶅姟鍗忚___________________________ bool isAgreePrivacyPolicy = false; /// <summary> /// 娣诲姞鏈嶅姟鍗忚鎺т欢 @@ -1132,6 +1132,11 @@ private void AddServiceAgreementControl(FrameLayout frameLayout) { isAgreePrivacyPolicy = OnAppConfig.Instance.isAgreePrivacyPolicy; + + + + + var frameRow = new FrameLayout() { Height = Application.GetRealHeight(28), @@ -1158,7 +1163,7 @@ Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/ChooseIcon.png", SelectedImagePath = "Public/ChooseOnIcon.png", - IsSelected = isAgreePrivacyPolicy, + IsSelected = OnAppConfig.Instance.isAgreePrivacyPolicy, Gravity = Gravity.Center }; agreeView.AddChidren(agreeBtn); @@ -1238,6 +1243,13 @@ { OpenWebViewPage(true); }; + + #if __ANDROID__ + //if(OnAppConfig.Instance.FirstRunApp || !OnAppConfig.Instance.isAgreePrivacyPolicy) + //{ + // HDL_ON_Android.HDLONUtils.StartSplashActivity(); + //} + #endif } /// <summary> -- Gitblit v1.8.0