提交 d939527b 编写于 作者: I inter515

修改编译问题

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 c60d28be
...@@ -533,6 +533,9 @@ export default function actsBmsJsModuleNameTest() { ...@@ -533,6 +533,9 @@ export default function actsBmsJsModuleNameTest() {
"name": "", "value": "", "resource": "" "name": "", "value": "", "resource": ""
}]] }]]
]); ]);
let resource = {
"bundleName": "", "moduleName": "", "id": 0
}
let abilityInfo = { let abilityInfo = {
bundleName: bundleName, bundleName: bundleName,
name: name, name: name,
...@@ -552,16 +555,13 @@ export default function actsBmsJsModuleNameTest() { ...@@ -552,16 +555,13 @@ export default function actsBmsJsModuleNameTest() {
subType: 0, subType: 0,
orientation: 0, orientation: 0,
launchMode: 0, launchMode: 0,
permissions: [], permissions: [], deviceTypes: [], deviceCapabilities: [], readPermission: "", writePermission: "",
deviceTypes: [],
deviceCapabilities: [],
readPermission: "",
writePermission: "",
applicationInfo: { applicationInfo: {
name: "", description: "", descriptionId: 0, systemApp: true, enabled: true, label: "", name: "", description: "", descriptionId: 0, systemApp: true, enabled: true, label: "",
labelId: "", icon: "", iconId: "", process: "", supportedModes: 0, moduleSourceDirs: [], labelId: "", icon: "", iconId: "", process: "", supportedModes: 0, moduleSourceDirs: [],
permissions: [], moduleInfos: [], entryDir: "", codePath: "", metaData: map1, metadata: map2, permissions: [], moduleInfos: [], entryDir: "", codePath: "", metaData: map1, metadata: map2,
removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "" removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "",
iconResource: resource, labelResource: resource, descriptionResource: resource
}, },
uri: "", metaData: [], metadata: [], enabled: true, supportWindowMode: [], uri: "", metaData: [], metadata: [], enabled: true, supportWindowMode: [],
maxWindowRatio: 0, minWindowRatio: 0, maxWindowWidth: 0, minWindowWidth: 0, maxWindowHeight: 0, minWindowHeight: 0 maxWindowRatio: 0, minWindowRatio: 0, maxWindowWidth: 0, minWindowWidth: 0, maxWindowHeight: 0, minWindowHeight: 0
......
...@@ -201,6 +201,9 @@ export default function isAbilityEnabledETSUnit() { ...@@ -201,6 +201,9 @@ export default function isAbilityEnabledETSUnit() {
"name": "", "value": "", "resource": "" "name": "", "value": "", "resource": ""
}]] }]]
]); ]);
let resource = {
"bundleName": "", "moduleName": "", "id": 0
}
let abilityInfo = { let abilityInfo = {
bundleName: bundleName, bundleName: bundleName,
name: name, name: name,
...@@ -220,16 +223,13 @@ export default function isAbilityEnabledETSUnit() { ...@@ -220,16 +223,13 @@ export default function isAbilityEnabledETSUnit() {
subType: 0, subType: 0,
orientation: 0, orientation: 0,
launchMode: 0, launchMode: 0,
permissions: [], permissions: [], deviceTypes: [], deviceCapabilities: [], readPermission: "", writePermission: "",
deviceTypes: [],
deviceCapabilities: [],
readPermission: "",
writePermission: "",
applicationInfo: { applicationInfo: {
name: "", description: "", descriptionId: 0, systemApp: true, enabled: true, label: "", name: "", description: "", descriptionId: 0, systemApp: true, enabled: true, label: "",
labelId: "", icon: "", iconId: "", process: "", supportedModes: 0, moduleSourceDirs: [], labelId: "", icon: "", iconId: "", process: "", supportedModes: 0, moduleSourceDirs: [],
permissions: [], moduleInfos: [], entryDir: "", codePath: "", metaData: map1, metadata: map2, permissions: [], moduleInfos: [], entryDir: "", codePath: "", metaData: map1, metadata: map2,
removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "" removable: true, accessTokenId: 0, uid: 0, entityType: "", fingerprint: "",
iconResource: resource, labelResource: resource, descriptionResource: resource
}, },
uri: "", metaData: [], metadata: [], enabled: true, supportWindowMode: [], uri: "", metaData: [], metadata: [], enabled: true, supportWindowMode: [],
maxWindowRatio: 0, minWindowRatio: 0, maxWindowWidth: 0, minWindowWidth: 0, maxWindowHeight: 0, minWindowHeight: 0 maxWindowRatio: 0, minWindowRatio: 0, maxWindowWidth: 0, minWindowWidth: 0, maxWindowHeight: 0, minWindowHeight: 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册