提交 b6511e3d 编写于 作者: C chengxingzhen

xts-签名文件整改

Signed-off-by: Nchengxingzhen <chengxingzhen@huawei.com>
上级 4a1acc29
...@@ -35,16 +35,6 @@ ...@@ -35,16 +35,6 @@
} }
] ]
} }
],
"requestPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
"name":"ohos.permission.START_INVISIBLE_ABILITY",
"reason":"need use ohos.permission.START_INVISIBLE_ABILITY"
}
] ]
} }
} }
\ No newline at end of file
...@@ -63,28 +63,6 @@ ...@@ -63,28 +63,6 @@
"launchType": "standard" "launchType": "standard"
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name": "ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason": "need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name": "ohos.permission.REMOVE_CACHE_FILES",
"reason": "need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -35,45 +35,13 @@ ...@@ -35,45 +35,13 @@
} }
], ],
"requestPermissions": [ "requestPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "need use ohos.permission.GET_BUNDLE_INFO" "reason": "need use ohos.permission.GET_BUNDLE_INFO"
}, },
{
"name": "ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason": "need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name": "ohos.permission.REMOVE_CACHE_FILES",
"reason": "need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.MANAGE_MISSIONS",
"reason": "need use ohos.permission.MANAGE_MISSIONS"
},
{
"name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
"reason": "need use ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"
},
{ {
"name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name": "ohos.permission.GET_RUNNING_INFO",
"reason": "need use ohos.permission.GET_RUNNING_INFO"
} }
] ]
} }
......
/*
* Copyright (c) 2021 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 ServiceExtension from '@ohos.application.ServiceExtensionAbility';
import Want from '@ohos.application.Want';
import rpc from '@ohos.rpc';
export default class ServiceAbility extends ServiceExtension {
onCreate(want:Want) {
globalThis.abilityWant = want;
console.log('ServiceAbility onCreate, want: ' + want.abilityName);
}
onRequest(want, startId) {
console.log('ServiceAbility onRequest, want: ' + want.abilityName + ', startId: ' + startId);
console.log('ServiceAbility registerApplicationStateObserver begin');
}
onConnect(want) {
console.log('ServiceAbility onConnect, want:' + want.abilityName);
globalThis.extensionContext = this.context
if (want.action == 'getExtensionInfotwo') {
this.context.startAbility(
{
bundleName: 'com.example.startabilityforresult',
abilityName: 'com.example.startabilityforresult.MainAbility2'
},
{
windowMode: 0,
displayId: 10,
}).then(() => {
console.log("====>end startAbility====>success!")
})
console.log('stub SerivceAbilityServer OnConnect start 2');
}
return new rpc.RemoteObject('connect');
}
onDisconnect(want) {
console.log('ServiceAbility onDisconnect, want:' + want.abilityName);
}
onDestroy() {
console.log('ServiceAbility onDestroy');
}
}
\ No newline at end of file
/*
* 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.
*/
export default {
onStart() {
console.info('ServiceAbility onStart');
},
onStop() {
console.info('ServiceAbility onStop');
},
onCommand(want, startId) {
console.info('ServiceAbility onCommand');
}
};
\ No newline at end of file
...@@ -207,72 +207,5 @@ export default function abilityTest() { ...@@ -207,72 +207,5 @@ export default function abilityTest() {
console.log('Start ACTS_startAbilityForResult_1000 timer id : ' + id); console.log('Start ACTS_startAbilityForResult_1000 timer id : ' + id);
}) })
/*
* @tc.number: ACTS_startAbilityForResult_1100
* @tc.name: Get the specified displayId to start Ability
* @tc.desc: Verify the connection to the service application startup page to obtain the specified displayId
*/
it('ACTS_startAbilityForResult_1100', 0, async function (done) {
console.log('ACTS_startAbilityForResult_1100====<begin');
console.log('========ACTS_startAbilityForResult_1100_StartConnect called');
var subscriber;
let id;
var connId;
function subscribeCallBack(err, data) {
console.debug("====>ACTS_startAbilityForResult_1100_Subscribe CallBack data:====>" + JSON.stringify(data));
if (data.event == "ACTS_TerminateSelf_CommonEvent") {
clearTimeout(id);
expect(data.parameters['displayId']).assertEqual(10);
expect(data.parameters['windowMode']).assertEqual(0);
commonEvent.unsubscribe(subscriber, unSubscribeCallback)
expect(data.event).assertEqual("ACTS_TerminateSelf_CommonEvent");
}
}
commonEvent.createSubscriber(subscriberInfo_MainAbility).then(async (data) => {
console.debug("====>ACTS_startAbilityForResult_1100_Create Subscriber====>");
subscriber = data;
await commonEvent.subscribe(subscriber, subscribeCallBack);
connId = await globalThis.abilityContext.connectServiceExtensionAbility(
{
bundleName: "com.example.startabilityforresult",
abilityName: "com.example.startabilityforresult.ServiceAbility",
action: "getExtensionInfotwo"
}
);
console.log('ACTS_startAbilityForResult_1100 ConnectAbility connId : ' + connId);
})
function unSubscribeCallback() {
globalThis.abilityContext.disconnectServiceExtensionAbility(
connId,
(error, data) => {
console.log('startAbilityForResult_0400 Disconnect result errCode : ' + error.code + " data: " + data)
done();
},
);
console.debug("====>ACTS_startAbilityForResult_1100_UnSubscribe CallBack====>");
}
function timeout() {
expect().assertFail();
globalThis.abilityContext.disconnectServiceExtensionAbility(
connId,
(error, data) => {
console.log('DisconnectAbility_0400 result errCode : ' + error.code + " data: " + data)
done();
},
);
console.debug('ACTS_startAbilityForResult_1100 timeout');
done();
}
id = setTimeout(timeout, START_ABILITY_TIMEOUT);
})
}) })
} }
\ No newline at end of file
...@@ -43,65 +43,14 @@ ...@@ -43,65 +43,14 @@
"orientation": "portrait" "orientation": "portrait"
} }
], ],
"extensionAbilities": [
{
"srcEntrance": "./ets/ServiceAbility/ServiceAbility.ts",
"name": "com.example.startabilityforresult.ServiceAbility",
"icon": "$media:icon",
"srcLanguage": "ets",
"description": "$string:phone_entry_main",
"type": "service",
"visible": true
}
],
"requestPermissions": [ "requestPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "need use ohos.permission.GET_BUNDLE_INFO" "reason": "need use ohos.permission.GET_BUNDLE_INFO"
}, },
{
"name": "ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason": "need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name": "ohos.permission.REMOVE_CACHE_FILES",
"reason": "need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.MANAGE_MISSIONS",
"reason": "need use ohos.permission.MANAGE_MISSIONS"
},
{
"name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
"reason": "need use ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"
},
{ {
"name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name": "ohos.permission.GET_RUNNING_INFO",
"reason": "need use ohos.permission.GET_RUNNING_INFO"
},
{
"name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason": "need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
"name": "ohos.permission.START_INVISIBLE_ABILITY",
"reason": "need use ohos.permission.START_INVISIBLE_ABILITY"
} }
] ]
} }
......
...@@ -35,53 +35,21 @@ ...@@ -35,53 +35,21 @@
} }
], ],
"requestPermissions": [ "requestPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "need use ohos.permission.GET_BUNDLE_INFO" "reason": "need use ohos.permission.GET_BUNDLE_INFO"
}, },
{ {
"name": "ohos.permission.CHANGE_ABILITY_ENABLED_STATE", "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason": "need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE" "reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name": "ohos.permission.REMOVE_CACHE_FILES",
"reason": "need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE", "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "need use ohos.permission.INSTALL_BUNDLE" "reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.MANAGE_MISSIONS", "name": "ohos.permission.MANAGE_MISSIONS",
"reason": "need use ohos.permission.MANAGE_MISSIONS" "reason": "need use ohos.permission.MANAGE_MISSIONS"
},
{
"name": "ohos.permission.GET_RUNNING_INFO",
"reason": "need use ohos.permission.GET_RUNNING_INFO"
},
{
"name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
"reason": "need use ohos.permission.GET_RUNNING_INFO"
},
{
"name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason": "need use ohos.permission.GET_RUNNING_INFO"
},
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
"name":"ohos.permission.START_INVISIBLE_ABILITY",
"reason":"need use ohos.permission.START_INVISIBLE_ABILITY"
} }
] ]
} }
......
...@@ -64,49 +64,13 @@ ...@@ -64,49 +64,13 @@
} }
], ],
"reqPermissions": [ "reqPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "need use ohos.permission.GET_BUNDLE_INFO" "reason": "need use ohos.permission.GET_BUNDLE_INFO"
}, },
{
"name": "ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason": "need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name": "ohos.permission.REMOVE_CACHE_FILES",
"reason": "need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.MANAGE_MISSIONS",
"reason": "need use ohos.permission.MANAGE_MISSIONS"
},
{
"name": "ohos.permission.GET_RUNNING_INFO",
"reason": "need use ohos.permission.GET_RUNNING_INFO"
},
{ {
"name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES", "name": "ohos.permission.CLEAN_BACKGROUND_PROCESSES",
"reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES" "reason": "need use ohos.permission.CLEAN_BACKGROUND_PROCESSES"
},
{
"name": "ohos.permission.CLEAN_APPLICATION_DATA",
"reason": "need use ohos.permission.CLEAN_APPLICATION_DATA"
},
{
"name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS",
"reason": "need use ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS"
} }
], ],
"js": [ "js": [
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"description": "$string:entry_desc", "description": "$string:entry_desc",
"mainElement": "MainAbility", "mainElement": "MainAbility",
"deviceTypes": [ "deviceTypes": [
"default", "default",
"tablet" "tablet"
], ],
"deliveryWithInstall": true, "deliveryWithInstall": true,
"installationFree": false, "installationFree": false,
...@@ -62,12 +62,6 @@ ...@@ -62,12 +62,6 @@
"icon": "$media:icon", "icon": "$media:icon",
"label": "$string:MainAbility5_label" "label": "$string:MainAbility5_label"
} }
],
"requestPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
] ]
} }
} }
\ No newline at end of file
...@@ -46,22 +46,6 @@ ...@@ -46,22 +46,6 @@
{ {
"name": "ohos.permission.INSTALL_BUNDLE", "name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE" "reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason": "need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name": "ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason": "need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name": "ohos.permission.REMOVE_CACHE_FILES",
"reason": "need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason": "need use ohos.permission.LISTEN_BUNDLE_CHANGE"
} }
], ],
"distro": { "distro": {
......
/*
* 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 rpc from '@ohos.rpc';
import ServiceExtension from '@ohos.application.ServiceExtensionAbility'
export default class ServiceAbility extends ServiceExtension {
onCreate(want) {
console.log('ActsStageAppContextTest ServiceAbility onCreate, want: ' + want.abilityName);
globalThis.serviceExtenxionAbilityContext = this.context
}
onRequest(want, startId) {
console.log('ServiceAbility onRequest, want: ' + want.abilityName + ', startId: ' + startId);
}
onConnect(want) {
console.log('ActsStageAppContextTest ServiceAbility onConnect, want:' + want.abilityName);
if (want.action == 'StartAbilityPromise') {
console.log('stub SerivceAbilityServer OnConnect start 1');
console.log('=======startAbilityPromise=======');
return new rpc.RemoteObject('ServiceAbility');
}
}
onDisconnect(want) {
console.log('ActsStageAppContextTest ServiceAbility onDisconnect, want:' + want.abilityName);
}
onDestroy() {
console.log('ActsStageAppContextTest ServiceAbility onDestroy');
}
}
\ No newline at end of file
...@@ -146,78 +146,6 @@ export default function stageAppContextTest(abilityContext) { ...@@ -146,78 +146,6 @@ export default function stageAppContextTest(abilityContext) {
done(); done();
}); });
/**
* @tc.number: SUB_AA_OpenHarmony_ApplicationContext_0700
* @tc.name: Validating the context obtained by the ExtensionContext call
* getApplicationContext can be obtained using createBundleContext
* @tc.desc: Function test
* @tc.level 3
*/
it('SUB_AA_OpenHarmony_ApplicationContext_0700', 0, async function (done) {
let TAG = "SUB_AA_OpenHarmony_ApplicationContext_0700";
console.log(TAG + " --- start");
let context = globalThis.serviceExtenxionAbilityContext.getApplicationContext();
let result = context.createBundleContext('com.example.stageappcontexttest')
let getCacheDir = result.cacheDir
console.log(TAG + 'getCacheDir::' + JSON.stringify(getCacheDir));
expect(getCacheDir).assertEqual('/data/app/el2/100/base/com.example.stageappcontexttest/cache')
done();
});
/**
* @tc.number: SUB_AA_OpenHarmony_ApplicationContext_0800
* @tc.name: Validating the context obtained by the ExtensionContext call
* getApplicationContext can be obtained using getApplicationContext
* @tc.desc: Function test
* @tc.level 3
*/
it('SUB_AA_OpenHarmony_ApplicationContext_0800', 0, async function (done) {
let TAG = "SUB_AA_OpenHarmony_ApplicationContext_0800";
console.log(TAG + " --- start");
let serviceContext = globalThis.serviceExtenxionAbilityContext.getApplicationContext()
console.log(TAG + "servicecontext" + serviceContext)
let result = serviceContext.getApplicationContext();
console.log(TAG + " result = " + result);
let dir = serviceContext.cacheDir
console.log(TAG + " dir = " + dir);
expect(dir).assertEqual("/data/storage/el2/base/cache");
done();
});
/**
* @tc.number: SUB_AA_OpenHarmony_ApplicationContext_0900
* @tc.name: Verify that the ExtensionContext call getApplicationContext
* gets the context using resourceManger
* @tc.desc: Function test
* @tc.level 3
*/
it('SUB_AA_OpenHarmony_ApplicationContext_0900', 0, async function (done) {
let TAG = "SUB_AA_OpenHarmony_ApplicationContext_0900";
console.log(TAG + " --- start");
let serviceContext = globalThis.serviceExtenxionAbilityContext.getApplicationContext();
let result = await serviceContext.resourceManager.getString(16777219);
console.log(TAG + " result = " + result);
expect(result).assertEqual("entry_MainAbility");
done();
});
/**
* @tc.number: SUB_AA_OpenHarmony_ApplicationContext_1000
* @tc.name: Verify that the ExtensionContext call getApplicationContext
* gets the context using applicationInfo
* @tc.desc: Function test
* @tc.level 3
*/
it('SUB_AA_OpenHarmony_ApplicationContext_1000', 0, async function (done) {
let TAG = "SUB_AA_OpenHarmony_ApplicationContext_1000";
console.log(TAG + " --- start");
let serviceContext = globalThis.serviceExtenxionAbilityContext.getApplicationContext();
let result = serviceContext.applicationInfo.name;
console.log(TAG + " result = " + result);
expect(result).assertEqual("com.example.stageappcontexttest");
done();
});
/** /**
* @tc.number: SUB_AA_OpenHarmony_ApplicationContext_1100 * @tc.number: SUB_AA_OpenHarmony_ApplicationContext_1100
* @tc.name: Verify that the application-level context call interface * @tc.name: Verify that the application-level context call interface
......
...@@ -32,21 +32,6 @@ ...@@ -32,21 +32,6 @@
} }
] ]
} }
],
"extensionAbilities": [
{
"name": "ServiceAbility",
"srcEntrance": "./ets/ServiceAbility/ServiceAbility.ts",
"label": "$string:form_ServiceAbility_label",
"description": "$string:form_ServiceAbility_desc",
"type": "service"
}
],
"requestPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
] ]
} }
} }
\ No newline at end of file
...@@ -57,28 +57,6 @@ ...@@ -57,28 +57,6 @@
"launchType": "standard" "launchType": "standard"
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -113,12 +113,6 @@ ...@@ -113,12 +113,6 @@
"testRunner": { "testRunner": {
"name": "OpenHarmonyTestRunner", "name": "OpenHarmonyTestRunner",
"srcPath": "TestRunner" "srcPath": "TestRunner"
}, }
"reqPermissions": [
{
"name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
}
]
} }
} }
\ No newline at end of file
...@@ -70,10 +70,6 @@ ...@@ -70,10 +70,6 @@
{ {
"name": "ohos.permission.GET_BUNDLE_INFO", "name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "need use ohos.permission.INSTALL_BUNDLE" "reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.UPDATE_CONFIGURATION",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
} }
], ],
"js": [ "js": [
......
...@@ -46,28 +46,6 @@ ...@@ -46,28 +46,6 @@
"visible": true "visible": true
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -46,28 +46,6 @@ ...@@ -46,28 +46,6 @@
"visible": true "visible": true
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -46,28 +46,6 @@ ...@@ -46,28 +46,6 @@
"visible": true "visible": true
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -46,28 +46,6 @@ ...@@ -46,28 +46,6 @@
"visible": true "visible": true
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -46,28 +46,6 @@ ...@@ -46,28 +46,6 @@
"launchType": "singleton" "launchType": "singleton"
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -46,28 +46,6 @@ ...@@ -46,28 +46,6 @@
"visible": true "visible": true
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -46,28 +46,6 @@ ...@@ -46,28 +46,6 @@
"visible": true "visible": true
} }
], ],
"reqPermissions": [
{
"name": "ohos.permission.INSTALL_BUNDLE",
"reason": "need use ohos.permission.INSTALL_BUNDLE"
},
{
"name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
"reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
"reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
},
{
"name":"ohos.permission.REMOVE_CACHE_FILES",
"reason":"need use ohos.permission.REMOVE_CACHE_FILES"
},
{
"name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
"reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
}
],
"js": [ "js": [
{ {
"pages": [ "pages": [
......
...@@ -56,8 +56,6 @@ group("formmanager") { ...@@ -56,8 +56,6 @@ group("formmanager") {
"formsystemtest_ets/formgetformsinfotest/formswithoutpermtest:ActsFormsWithoutPermTest", "formsystemtest_ets/formgetformsinfotest/formswithoutpermtest:ActsFormsWithoutPermTest",
"formsystemtest_ets/formgetformsinfotest/formszerotest:ActsFormsZeroTest", "formsystemtest_ets/formgetformsinfotest/formszerotest:ActsFormsZeroTest",
"formsystemtest_ets/formhostdeathrecipienttest:ActsFormHostDeathRecipientTest", "formsystemtest_ets/formhostdeathrecipienttest:ActsFormHostDeathRecipientTest",
#"formsystemtest_ets/formperformancetest:ActsFormPerformanceTest",
"formsystemtest_ets/formreleasetest:ActsFormReleaseTest", "formsystemtest_ets/formreleasetest:ActsFormReleaseTest",
"formsystemtest_ets/formstatetest_disable:ActsFormStateDisableTest", "formsystemtest_ets/formstatetest_disable:ActsFormStateDisableTest",
"formsystemtest_ets/formstatetest_enable:ActsFormStateEnableTest", "formsystemtest_ets/formstatetest_enable:ActsFormStateEnableTest",
......
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -109,16 +110,10 @@ ...@@ -109,16 +110,10 @@
"name": "FMS_FormOnUninstall_commonEvent" "name": "FMS_FormOnUninstall_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppB", "name": ".FormStHostAppB",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -95,16 +96,10 @@ ...@@ -95,16 +96,10 @@
"reason": "need use delete commonEvent" "reason": "need use delete commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppC", "name": ".FormStHostAppC",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -125,16 +126,10 @@ ...@@ -125,16 +126,10 @@
"name": "FMS_TimeChange_commonEvent" "name": "FMS_TimeChange_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppD", "name": ".FormStHostAppD",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -109,16 +110,10 @@ ...@@ -109,16 +110,10 @@
"name": "FMS_FormOnReleased_commonEvent" "name": "FMS_FormOnReleased_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppE", "name": ".FormStHostAppE",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -125,16 +126,10 @@ ...@@ -125,16 +126,10 @@
"name": "FMS_FormOnRequest_commonEvent" "name": "FMS_FormOnRequest_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppF", "name": ".FormStHostAppF",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -117,16 +118,10 @@ ...@@ -117,16 +118,10 @@
"name": "FMS_FormUpdateRefresh_commonEvent" "name": "FMS_FormUpdateRefresh_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppG", "name": ".FormStHostAppG",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -109,16 +110,10 @@ ...@@ -109,16 +110,10 @@
"name": "FMS_FormOnState_commonEvent" "name": "FMS_FormOnState_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppI", "name": ".FormStHostAppI",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -109,16 +110,10 @@ ...@@ -109,16 +110,10 @@
"name": "FMS_FormOnState_commonEvent" "name": "FMS_FormOnState_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostApp", "name": ".FormStHostApp",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -101,16 +102,10 @@ ...@@ -101,16 +102,10 @@
"name": "FMS_FormCast_commonEvent" "name": "FMS_FormCast_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{ {
"name": "ohos.permission.INSTALL_BUNDLE" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{
"name": "ohos.permission.REQUIRE_FORM"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppK", "name": ".FormStHostAppK",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -127,17 +128,8 @@ ...@@ -127,17 +128,8 @@
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{
"name": "ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{ {
"name": "ohos.permission.REQUIRE_FORM" "name": "ohos.permission.REQUIRE_FORM"
},
{
"name": "fms.time_speed"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppL", "name": ".FormStHostAppL",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -105,12 +106,6 @@ ...@@ -105,12 +106,6 @@
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{
"name": "ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{ {
"name": "ohos.permission.REQUIRE_FORM" "name": "ohos.permission.REQUIRE_FORM"
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppN", "name": ".FormStHostAppN",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -111,12 +112,6 @@ ...@@ -111,12 +112,6 @@
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{
"name": "ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{ {
"name": "ohos.permission.REQUIRE_FORM" "name": "ohos.permission.REQUIRE_FORM"
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppNoPerm", "name": ".FormStHostAppNoPerm",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -125,13 +126,7 @@ ...@@ -125,13 +126,7 @@
"name": "FMS_FormOnState_commonEvent" "name": "FMS_FormOnState_commonEvent"
}, },
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
},
{
"name": "ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
} }
] ]
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppO", "name": ".FormStHostAppO",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -111,12 +112,6 @@ ...@@ -111,12 +112,6 @@
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{
"name": "ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{ {
"name": "ohos.permission.REQUIRE_FORM" "name": "ohos.permission.REQUIRE_FORM"
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
"name": ".FormStHostAppP", "name": ".FormStHostAppP",
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
], ],
"visible": true, "visible": true,
"name": ".MainAbility", "name": ".MainAbility",
"srcPath": "MainAbility",
"srcLanguage": "ets", "srcLanguage": "ets",
"icon": "$media:icon", "icon": "$media:icon",
"description": "$string:description_mainability", "description": "$string:description_mainability",
...@@ -111,12 +112,6 @@ ...@@ -111,12 +112,6 @@
{ {
"name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
}, },
{
"name": "ohos.permission.INSTALL_BUNDLE"
},
{
"name": "ohos.permission.LISTEN_BUNDLE_CHANGE"
},
{ {
"name": "ohos.permission.REQUIRE_FORM" "name": "ohos.permission.REQUIRE_FORM"
} }
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
"mainAbility": ".MainAbility", "mainAbility": ".MainAbility",
"srcPath": "", "srcPath": "",
"deviceType": [ "deviceType": [
"default", "default",
"tablet" "tablet"
], ],
"distro": { "distro": {
"deliveryWithInstall": true, "deliveryWithInstall": true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册