From 37c6803adf9daa576094c5e7661d63487c3ca3dc Mon Sep 17 00:00:00 2001 From: shenglili Date: Tue, 15 Nov 2022 16:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=AA=E5=B1=8F=E6=96=B0=E5=A2=9Etablet?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=B1=BB=E5=9E=8B=20&=20START=5FABILITIES=5F?= =?UTF-8?q?FROM=5FBACKGROUND=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shenglili --- common/src/main/module.json5 | 7 ++++--- features/screenshot/src/main/module.json5 | 3 ++- product/phone/src/main/module.json5 | 9 ++++++++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/common/src/main/module.json5 b/common/src/main/module.json5 index 626c2f2..56a91a8 100644 --- a/common/src/main/module.json5 +++ b/common/src/main/module.json5 @@ -1,10 +1,11 @@ - { +{ "module": { - "package": "com.ohos.screenshot", "name": "common", "type": "har", "deviceTypes": [ - "phone" + "default", + "tablet" ], "uiSyntax": "ets" + } } diff --git a/features/screenshot/src/main/module.json5 b/features/screenshot/src/main/module.json5 index ba5888c..17af113 100644 --- a/features/screenshot/src/main/module.json5 +++ b/features/screenshot/src/main/module.json5 @@ -3,7 +3,8 @@ "name": "screenshot", "type": "har", "deviceTypes": [ - "phone", + "default", + "tablet" ], "uiSyntax": "ets" } diff --git a/product/phone/src/main/module.json5 b/product/phone/src/main/module.json5 index 689f03f..49f3ecd 100644 --- a/product/phone/src/main/module.json5 +++ b/product/phone/src/main/module.json5 @@ -6,7 +6,8 @@ "description": "$string:mainability_description", "mainElement": "com.ohos.screenshot.ServiceExtAbility", "deviceTypes": [ - "default" + "default", + "tablet" ], "deliveryWithInstall": true, "installationFree": false, @@ -55,6 +56,12 @@ }, { "name": "ohos.permission.CAPTURE_SCREEN" + }, + { + "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" + }, + { + "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" } ] }