提交 59be8e6c 编写于 作者: 杜庆泉's avatar 杜庆泉

uts array adapter +1

上级 6740dc0e
......@@ -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<ResolveInfo>;
let resolveInfo = packageManager.queryIntentActivities(intent,0);
console.log(resolveInfo.size)
if(resolveInfo.size == 0){
hasXActivityIntegration = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册