提交 b6ee0af4 编写于 作者: I inter515

page类型ability中不能配置orientation

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 5f6c2360
......@@ -1141,14 +1141,13 @@ 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);
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.
先完成此消息的编辑!
想要评论请 注册