Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
740f14fb
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
740f14fb
编写于
9月 20, 2022
作者:
O
openharmony_ci
提交者:
Gitee
9月 20, 2022
浏览文件
操作
浏览文件
下载
差异文件
!5480 修改XTS功能测试用例编号
Merge pull request !5480 from Mupceet/release_0915_xts_beta3
上级
7ddddce1
81b8fe7f
变更
5
展开全部
隐藏空白更改
内联
并排
Showing
5 changed file
with
320 addition
and
398 deletion
+320
-398
barrierfree/accessibletest/actsabilitylisttest/entry/src/main/ets/test/Ability.test.ets
...sabilitylisttest/entry/src/main/ets/test/Ability.test.ets
+0
-1
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/ets/MainAbility/pages/index.ets
...rationtest/entry/src/main/ets/MainAbility/pages/index.ets
+213
-197
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts
...entry/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts
+0
-61
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/ets/test/CaptionConfiguration.test.ets
...est/entry/src/main/ets/test/CaptionConfiguration.test.ets
+107
-124
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/module.json
...t/actscaptionconfigurationtest/entry/src/main/module.json
+0
-15
未找到文件。
barrierfree/accessibletest/actsabilitylisttest/entry/src/main/ets/test/Ability.test.ets
浏览文件 @
740f14fb
...
...
@@ -38,7 +38,6 @@ export default function abilityTest() {
prompt.showToast({
message: 'CASE All End'
})
disableAll(LOG_PREFIX + ' disableAll ')
done()
})
/**
...
...
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/ets/MainAbility/pages/index.ets
浏览文件 @
740f14fb
此差异已折叠。
点击以展开。
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/ets/ServiceExtAbility/ServiceExtAbility.ts
已删除
100644 → 0
浏览文件 @
7ddddce1
/*
* Copyright (c) 2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
commonEvent
from
'
@ohos.commonEvent
'
import
AccessibilityExtensionAbility
from
'
@ohos.application.AccessibilityExtensionAbility
'
const
logTag
=
"
[xtsLog]
"
class
ServiceExtAbility
extends
AccessibilityExtensionAbility
{
onConnect
()
{
const
context
=
this
.
context
;
console
.
info
(
logTag
+
"
AccessibilityAll onAbilityConnected
"
);
var
commonEventSubscribeInfo
=
{
events
:
[
"
on_assist_change
"
,
"
execute_accessibility_event
"
]
}
function
subscriberCallback
(
err
,
data
)
{
console
.
info
(
logTag
+
"
AccessibilityALLD subscriberCallback start
"
);
console
.
info
(
logTag
+
"
AccessibilityALLD receive event err:
"
+
JSON
.
stringify
(
err
));
console
.
info
(
logTag
+
"
AccessibilityALLD receive event data:
"
+
JSON
.
stringify
(
data
));
console
.
info
(
logTag
+
"
AccessibilityALLD subscriberCallback end
"
);
}
var
subscriber
commonEvent
.
createSubscriber
(
commonEventSubscribeInfo
).
then
(
function
(
data
)
{
console
.
info
(
logTag
+
"
AccessibilityALLD createSubscriber Start====
"
)
subscriber
=
data
;
commonEvent
.
subscribe
(
subscriber
,
subscriberCallback
);
console
.
info
(
logTag
+
"
AccessibilityALLD createSubscriber End====
"
)
})
console
.
info
(
logTag
+
"
AccessibilityALLD onShow End====
"
)
}
onAccessibilityEvent
(
accessibilityEvent
)
{
printAccessibilityEvent
(
accessibilityEvent
);
return
true
;
}
onKeyEvent
(
keyEvent
)
{
console
.
info
(
"
onKeyEvent
"
);
console
.
info
(
logTag
+
"
onKeyEvent KeyInterception AccessibilityAllD:
"
+
JSON
.
stringify
(
keyEvent
));
return
true
;
}
}
const
printAccessibilityEvent
=
(
accessibilityEvent
)
=>
{
console
.
info
(
logTag
+
"
AccessibilityAllD onAccessibilityEvent Start
"
);
console
.
info
(
logTag
+
"
AccessibilityAllD onAccessibilityEvent accessibilityEvent=
"
+
JSON
.
stringify
(
accessibilityEvent
));
console
.
info
(
logTag
+
"
AccessibilityAllD onAccessibilityEvent End
"
);
}
export
default
ServiceExtAbility
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/ets/test/CaptionConfiguration.test.ets
浏览文件 @
740f14fb
...
...
@@ -18,6 +18,14 @@ import accessibility from '@ohos.accessibility';
import config from '@ohos.accessibility.config';
const LOG = "[xtsLog]"
const START_TIMEOUT = 5000;
var backList = []
let subScriber = undefined;
let registerOn = false;
const callbackData = (data) => {
console.info(LOG + " captionsManager on res = " + JSON.stringify(data))
registerOn = true
}
const CaptionConfigurationOn = (logTag, captionType) => {
let captionsManager = accessibility.getCaptionsManager();
...
...
@@ -25,11 +33,7 @@ const CaptionConfigurationOn = (logTag, captionType) => {
console.info(logTag + " captionsManager is undefined");
return;
}
captionsManager.on(captionType, (res) => {
console.info(logTag + " captionsManager on " + captionType + " res: " + JSON.stringify(res));
onbackList.push(logTag + "_on_success")
console.info(logTag + "_on_success");
});
captionsManager.on(captionType, callbackData);
}
const CaptionConfigurationOff = (logTag, captionType) => {
...
...
@@ -38,37 +42,32 @@ const CaptionConfigurationOff = (logTag, captionType) => {
console.info(logTag + " captionsManager is undefined");
return;
}
captionsManager.off(captionType, (res) => {
console.info(logTag + " captionsManager off " + captionType + " res: " + JSON.stringify(res));
});
captionsManager.off(captionType, callbackData);
}
const CaptionConfigurationOffAll = (logTag, captionType) => {
let captionsManager = accessibility.getCaptionsManager();
if (!captionsManager) {
console.info(logTag + " captionsManager is undefined");
return;
}
captionsManager.off(captionType);
}
const captionOn = (logTag, caseName) => {
config.captions.on((res) => {
console.info(logTag + " captionOn res = " + JSON.stringify(res));
console.info(logTag + "_on_success");
onbackList.push(caseName + "_on_success")
});
config.captions.on(callbackData);
}
const captionOff = (logTag, captionType) => {
config.captions.off((res) => {
console.info(logTag + " caption off " + captionType + " res: " + JSON.stringify(res));
});
config.captions.off(callbackData);
}
const captionStyleOn = (logTag, caseName) => {
config.captionsStyle.on((res) => {
console.info(logTag + " captionsStyle On res = " + JSON.stringify(res));
console.info(logTag + "_on_success");
onbackList.push(caseName + "_on_success")
});
config.captionsStyle.on(callbackData);
}
const captionStyleOff = (logTag, captionType) => {
config.captionsStyle.off((res) => {
console.info(logTag + " captionsStyle off " + captionType + " res: " + JSON.stringify(res));
});
config.captionsStyle.off(callbackData);
}
const excuteCase = (caseNamePara) => {
...
...
@@ -83,16 +82,15 @@ const excuteCase = (caseNamePara) => {
}
commonEvent.publish("on_target_change", commonEventPublishData, publishCallback);
}
var backList = []
let subScriber = undefined;
var onbackList = []
export default function CaptionConfigurationTest() {
describe('ActsCaptionConfigurationTest', function () {
beforeEach(async function (done) {
console.info(LOG + 'ActsCaptionConfigurationTest: beforeEach');
setTimeout(() => {
backList = []
done();
},
3
000);
},
1
000);
});
beforeAll(async function (done) {
console.info(LOG + 'ActsCaptionConfigurationTest: beforeAll');
...
...
@@ -124,13 +122,14 @@ export default function CaptionConfigurationTest() {
});
/**
* @tc.number: CaptionConfiguration_0
01
0
* @tc.number: CaptionConfiguration_0
27
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
01
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
01
0";
it('CaptionConfiguration_0
27
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
27
0";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
CaptionConfigurationOn(caseName, 'enableChange')
}, 1000);
...
...
@@ -139,117 +138,110 @@ export default function CaptionConfigurationTest() {
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') !== -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
CaptionConfigurationOff(caseName, 'enableChange')
done();
}, 8000);
});
/**
* @tc.number: CaptionConfiguration_0
02
0
* @tc.number: CaptionConfiguration_0
28
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
02
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
02
0";
it('CaptionConfiguration_0
28
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
28
0";
const logF = LOG + caseName;
registerOn = false;
CaptionConfigurationOn(caseName, 'styleChange')
setTimeout(() => {
excuteCase(caseName);
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') !== -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
CaptionConfigurationOffAll(caseName, 'styleChange')
done();
}, 8000);
});
/**
* @tc.number: CaptionConfiguration_0
03
0
* @tc.number: CaptionConfiguration_0
29
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
03
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
03
0";
it('CaptionConfiguration_0
29
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
29
0";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
CaptionConfigurationOn(caseName, 'enableChange');
}, 1000);
setTimeout(() => {
CaptionConfigurationOff(caseName, 'enableChange')
setTimeout(() => {
excuteCase(caseName);
}, 3000);
}, 2000);
setTimeout(() => {
excuteCase(caseName);
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') == -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(false);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
done();
}, 8000);
});
/**
* @tc.number: CaptionConfiguration_0
04
0
* @tc.number: CaptionConfiguration_0
30
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
04
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
04
0";
it('CaptionConfiguration_0
30
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
30
0";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
CaptionConfigurationOn(caseName, 'styleChange');
}, 1000);
setTimeout(() => {
CaptionConfigurationOff(caseName, 'styleChange')
setTimeout(() => {
excuteCase(caseName);
}, 3000);
}, 2000);
setTimeout(() => {
excuteCase(caseName);
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') == -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(false);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
done();
}, 8000);
});
/**
* @tc.number: CaptionConfiguration_0
05
0
* @tc.number: CaptionConfiguration_0
31
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
05
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
05
0";
it('CaptionConfiguration_0
31
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
31
0";
const logF = LOG + caseName;
setTimeout(() => {
excuteCase(caseName);
...
...
@@ -266,12 +258,12 @@ export default function CaptionConfigurationTest() {
});
/**
* @tc.number: CaptionConfiguration_0
06
0
* @tc.number: CaptionConfiguration_0
32
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
06
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
06
0";
it('CaptionConfiguration_0
32
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
32
0";
const logF = LOG + caseName;
setTimeout(() => {
excuteCase(caseName);
...
...
@@ -288,12 +280,12 @@ export default function CaptionConfigurationTest() {
});
/**
* @tc.number: CaptionConfiguration_0
07
0
* @tc.number: CaptionConfiguration_0
33
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
07
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
07
0";
it('CaptionConfiguration_0
33
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
33
0";
const logF = LOG + caseName;
setTimeout(() => {
excuteCase(caseName);
...
...
@@ -310,12 +302,12 @@ export default function CaptionConfigurationTest() {
});
/**
* @tc.number: CaptionConfiguration_0
08
0
* @tc.number: CaptionConfiguration_0
34
0
* @tc.name: Call api:getcaptionsmanager() to set the caption parameter.
* @tc.desc: Call api:getcaptionsmanager() to set the caption parameter.
*/
it('CaptionConfiguration_0
08
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
08
0";
it('CaptionConfiguration_0
34
0', 1, async function (done) {
const caseName = "CaptionConfiguration_0
34
0";
const logF = LOG + caseName;
setTimeout(() => {
excuteCase(caseName);
...
...
@@ -405,6 +397,7 @@ export default function CaptionConfigurationTest() {
it('CaptionConfiguration_0120', 1, async function (done) {
const caseName = "CaptionConfiguration_0120";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
CaptionConfigurationOn(caseName, undefined);
}, 1000);
...
...
@@ -413,15 +406,12 @@ export default function CaptionConfigurationTest() {
}, 2000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') == -1) {
if (backList.indexOf(caseName + '_on_target_change_extra_success') != -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') == -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(false);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
done();
}, 8000);
});
...
...
@@ -456,23 +446,22 @@ export default function CaptionConfigurationTest() {
it('CaptionConfiguration_0140', 1, async function (done) {
const caseName = "CaptionConfiguration_0140";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
captionOn(logF, caseName)
captionOn(logF, caseName)
;
}, 1000);
setTimeout(() => {
excuteCase(caseName);
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') !== -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
captionOff(logF, caseName);
done();
}, 8000);
});
...
...
@@ -485,21 +474,20 @@ export default function CaptionConfigurationTest() {
it('CaptionConfiguration_0150', 1, async function (done) {
const caseName = "CaptionConfiguration_0150";
const logF = LOG + caseName;
captionStyleOn(logF, caseName)
registerOn = false;
captionStyleOn(logF, caseName);
setTimeout(() => {
excuteCase(caseName);
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') !== -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
config.captionsStyle.off();
done();
}, 8000);
});
...
...
@@ -512,26 +500,24 @@ export default function CaptionConfigurationTest() {
it('CaptionConfiguration_0160', 1, async function (done) {
const caseName = "CaptionConfiguration_0160";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
captionOn(logF, caseName)
}, 1000);
setTimeout(() => {
captionOff(logF, caseName)
setTimeout(() => {
excuteCase(caseName);
}, 3000);
}, 2000);
setTimeout(() => {
excuteCase(caseName);
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') == -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(false);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
done();
}, 8000);
});
...
...
@@ -544,26 +530,25 @@ export default function CaptionConfigurationTest() {
it('CaptionConfiguration_0170', 1, async function (done) {
const caseName = "CaptionConfiguration_0170";
const logF = LOG + caseName;
registerOn = false;
setTimeout(() => {
captionStyleOn(logF, caseName);
}, 1000);
setTimeout(() => {
captionStyleOff(logF, caseName)
setTimeout(() => {
excuteCase(caseName);
}, 3000);
}, 2000);
setTimeout(() => {
excuteCase(caseName);
}, 3000);
setTimeout(() => {
var isSucceedTarget: boolean = false;
var isSucceedOnBack: boolean = false;
if (backList.indexOf(caseName + '_on_target_change_extra_success') !== -1) {
isSucceedTarget = true;
}
if (onbackList.indexOf(caseName + '_on_success') == -1) {
isSucceedOnBack = true;
}
expect(isSucceedTarget && isSucceedOnBack).assertEqual(true);
console.info(logF + ' isSucceed : ' + (isSucceedTarget && isSucceedOnBack));
expect(isSucceedTarget).assertEqual(true);
expect(registerOn).assertEqual(false);
console.info(logF + ' isSucceed : ' + (isSucceedTarget));
done();
}, 8000);
});
...
...
@@ -741,7 +726,5 @@ export default function CaptionConfigurationTest() {
done();
}, 8000);
});
})
}
barrierfree/accessibletest/actscaptionconfigurationtest/entry/src/main/module.json
浏览文件 @
740f14fb
...
...
@@ -33,21 +33,6 @@
]
}
],
"extensionAbilities"
:
[
{
"name"
:
"ServiceExtAbility"
,
"srcEntrance"
:
"./ets/ServiceExtAbility/ServiceExtAbility.ts"
,
"label"
:
"$string:entry_desc"
,
"description"
:
"$string:entry_desc"
,
"type"
:
"accessibility"
,
"metadata"
:
[
{
"name"
:
"ohos.accessibleability"
,
"resource"
:
"$profile:accessibility_config"
}
],
"permissions"
:
[
"ohos.permission.GET_BUNDLE_INFO"
]
}],
"requestPermissions"
:
[
{
"name"
:
"ohos.permission.SYSTEM_FLOAT_WINDOW"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录