From 3ac3992c0b26d13d605392533db6bc8ab71837fd Mon Sep 17 00:00:00 2001 From: duqingquan Date: Thu, 6 Jul 2023 14:18:26 +0800 Subject: [PATCH] uts array +1 --- uni_modules/uts-nativepage/utssdk/app-android/index.uts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uni_modules/uts-nativepage/utssdk/app-android/index.uts b/uni_modules/uts-nativepage/utssdk/app-android/index.uts index 6abbe67..e3a4678 100644 --- a/uni_modules/uts-nativepage/utssdk/app-android/index.uts +++ b/uni_modules/uts-nativepage/utssdk/app-android/index.uts @@ -279,7 +279,7 @@ export default function gotoDemoActivity():boolean { try{ let packageManager = UTSAndroid.getUniActivity()!.getPackageManager(); let intent = new Intent(UTSAndroid.getUniActivity(),DemoActivity().javaClass); - let resolveInfo = packageManager.queryIntentActivities(intent,0) as Array; + let resolveInfo = packageManager.queryIntentActivities(intent,0); console.log(resolveInfo.size) if(resolveInfo.size == 0){ hasXActivityIntegration = false; -- GitLab