From 05a80811c90af3f1bbde74968f41fb2b3d0471f7 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 07 六月 2023 13:47:27 +0800
Subject: [PATCH] 1
---
HDL-ON_Android/AgreementActivity.cs | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/HDL-ON_Android/AgreementActivity.cs b/HDL-ON_Android/AgreementActivity.cs
index 84a475a..dc866b1 100644
--- a/HDL-ON_Android/AgreementActivity.cs
+++ b/HDL-ON_Android/AgreementActivity.cs
@@ -1,6 +1,7 @@
锘縰sing System;
using Android.App;
using Android.Content;
+using Android.Content.PM;
using Android.Net;
using Android.OS;
using CN.Jpush.Android.Api;
@@ -16,7 +17,7 @@
namespace HDL_ON_Android
{
- [Activity(Label = "AgreementActivity", Theme = "@style/MyTheme1")]
+ [Activity(Label = "AgreementActivity", Theme = "@style/MyTheme1", ScreenOrientation = ScreenOrientation.Portrait)]
public class AgreementActivity : Activity
{
protected override void OnCreate(Bundle savedInstanceState)
@@ -36,7 +37,7 @@
{
Intent i = new Intent(this, typeof(WebviewActivity));
- i.PutExtra("url", "https://developer.hdlcontrol.com/HDLOnPlusPrivacyPolicy.html");
+ i.PutExtra("url", HDL_ON.Constant.URL_PRIVACYPOLICY);
StartActivity(i);
Intent data = new Intent();
data.PutExtra("data", "disagree");
@@ -46,7 +47,7 @@
{
Intent i = new Intent(this, typeof(WebviewActivity));
- i.PutExtra("url", "https://developer.hdlcontrol.com/HDLOnPlusUserAgreement.html");
+ i.PutExtra("url",HDL_ON.Constant.URL_USERAGREEMENT);
StartActivity(i);
Intent data = new Intent();
@@ -70,7 +71,5 @@
Finish();
};
}
-
-
}
}
\ No newline at end of file
--
Gitblit v1.8.0