From 5f6f1453275b09cc28fc953c6d926506815edc13 Mon Sep 17 00:00:00 2001 From: duqingquan Date: Wed, 31 Aug 2022 16:39:24 +0800 Subject: [PATCH] some test change. --- pages/SDKIntegration/SDKIntegration.vue | 2 +- uni_modules/uts-advance/utssdk/app-android/index.uts | 7 +++---- uni_modules/uts-helloworld/utssdk/app-android/config.json | 2 +- uni_modules/uts-osapi/utssdk/app-android/config.json | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/pages/SDKIntegration/SDKIntegration.vue b/pages/SDKIntegration/SDKIntegration.vue index c0ae4ae..eb386fe 100644 --- a/pages/SDKIntegration/SDKIntegration.vue +++ b/pages/SDKIntegration/SDKIntegration.vue @@ -9,7 +9,7 @@ export default { data() { return { - title: 'SDK集成示例', + title: 'SDK集成示例-开发中', } }, methods: { diff --git a/uni_modules/uts-advance/utssdk/app-android/index.uts b/uni_modules/uts-advance/utssdk/app-android/index.uts index 03098c8..699b927 100644 --- a/uni_modules/uts-advance/utssdk/app-android/index.uts +++ b/uni_modules/uts-advance/utssdk/app-android/index.uts @@ -60,12 +60,11 @@ class AddUIRunnable extends Runnable { let decorView = getUniActivity()!.window.decorView; - let frameContent = decorView.findViewById(android.R.id.content) as FrameLayout + let frameContent = decorView.findViewById(android.R.id.content) let layoutParam = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.WRAP_CONTENT); layoutParam.topMargin = 200; - frameContent.addView(textView,layoutParam) - + frameContent.addView(textView,layoutParam) } }; @@ -75,7 +74,7 @@ class RemoveUIRunnable extends Runnable { override run():void { let decorView = getUniActivity()!.window.decorView; - let frameContent = decorView.findViewById(android.R.id.content) as FrameLayout + let frameContent = decorView.findViewById(android.R.id.content) let targetTV = frameContent.findViewWithTag("helloText") frameContent.removeView(targetTV) diff --git a/uni_modules/uts-helloworld/utssdk/app-android/config.json b/uni_modules/uts-helloworld/utssdk/app-android/config.json index b8606f6..61cf4e9 100644 --- a/uni_modules/uts-helloworld/utssdk/app-android/config.json +++ b/uni_modules/uts-helloworld/utssdk/app-android/config.json @@ -4,4 +4,4 @@ "dependencies": [{ }], "minSdkVersion": 21 -}, \ No newline at end of file +} \ No newline at end of file diff --git a/uni_modules/uts-osapi/utssdk/app-android/config.json b/uni_modules/uts-osapi/utssdk/app-android/config.json index b8606f6..61cf4e9 100644 --- a/uni_modules/uts-osapi/utssdk/app-android/config.json +++ b/uni_modules/uts-osapi/utssdk/app-android/config.json @@ -4,4 +4,4 @@ "dependencies": [{ }], "minSdkVersion": 21 -}, \ No newline at end of file +} \ No newline at end of file -- GitLab