From 8fc5818b5f558461c30c7b14940dbb87c002a056 Mon Sep 17 00:00:00 2001 From: txl000 Date: Tue, 11 Jul 2023 10:41:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E2in1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: txl000 --- .../entry/src/main/module.json | 55 +++++++++---------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/module.json b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/module.json index b514f05..81e672d 100644 --- a/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/module.json +++ b/examples/stagetest/actsbundlemanagerstagetest/entry/src/main/module.json @@ -7,7 +7,8 @@ "mainElement": "ohos.acts.bundle.stage.test.MainAbility", "deviceTypes": [ "default", - "tablet" + "tablet", + "2in1" ], "deliveryWithInstall": true, "installationFree": false, @@ -15,10 +16,11 @@ "pages": "$profile:main_pages", "metadata": [ { - "name": "ArkTSPartialUpdate", - "value": "false" + "name": "MetaData1", + "value": "MetaDataValue", + "resource": "$profile:shortcuts_config" } - ], + ], "abilities": [ { "name": "ohos.acts.bundle.stage.test.MainAbility", @@ -34,7 +36,7 @@ "actions": [ "action.system.home" ], - "entities":[ + "entities": [ "entity.system.home" ] } @@ -351,29 +353,26 @@ } ], "requestPermissions": [ - { - "name": "ohos.permission.GET_BUNDLE_INFO", - "reason": "$string:permission_reason", - "usedScene": { - "abilities": ["MainAbility"], - "when": "always" - } - }, - { - "name": "ohos.permission.READ_CALENDAR", - "reason": "$string:permission_reason", - "usedScene": { - "abilities": ["MainAbility"], - "when": "inuse" + { + "name": "ohos.permission.GET_BUNDLE_INFO", + "reason": "$string:permission_reason", + "usedScene": { + "abilities": [ + "MainAbility" + ], + "when": "always" + } + }, + { + "name": "ohos.permission.READ_CALENDAR", + "reason": "$string:permission_reason", + "usedScene": { + "abilities": [ + "MainAbility" + ], + "when": "inuse" + } } - } - ], - "metadata": [ - { - "name": "MetaData1", - "value": "MetaDataValue", - "resource": "$profile:shortcuts_config" - } ] } -} +} \ No newline at end of file -- Gitee