未验证 提交 b4f6e780 编写于 作者: O openharmony_ci 提交者: Gitee

!4839 【包管理子系统】【3.1Release】修改配置orientation字段的ability类型为page

Merge pull request !4839 from ry/OpenHarmony-3.1-Release
......@@ -1145,14 +1145,14 @@ describe('ActsBundleManagerTest', function () {
expect(datainfo.name).assertEqual("com.example.myapplication.MainAbility");
expect(datainfo.type).assertEqual(demo.AbilityType.DATA);
expect(datainfo.bundleName).assertEqual(NAME4);
expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.FOLLOW_RECENT);
expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.UNSPECIFIED);
queryResultCount++;
}
if (datainfo.bundleName == NAME5) {
expect(datainfo.name).assertEqual("com.example.myapplication.MainAbility");
expect(datainfo.type).assertEqual(demo.AbilityType.PAGE);
expect(datainfo.bundleName).assertEqual(NAME5);
expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.UNSPECIFIED);
expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.FOLLOW_RECENT);
queryResultCount++;
}
}
......
......@@ -45,7 +45,6 @@
"isVisible": "true",
"launchType": "standard",
"language": "C++",
"orientation": "followrecent",
"uri":"dataability://"
}
],
......
......@@ -44,6 +44,7 @@
"type": "page",
"isVisible": "true",
"launchType": "standard",
"orientation": "followrecent",
"language": "C++"
}
],
......
......@@ -40,8 +40,7 @@
"type": "service",
"isVisible": "true",
"launchType": "singleton",
"language": "C++",
"orientation": "landscape"
"language": "C++"
}
],
"deviceType": [
......
......@@ -40,7 +40,7 @@
"icon": "$media:icon",
"description": "$string:mainability_description",
"label": "$string:app_name",
"type": "service",
"type": "page",
"isVisible": "true",
"launchType": "singleton",
"language": "C++",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册