From 2fbae9134fefb0f29e0f3a11e47ef233e3947ade Mon Sep 17 00:00:00 2001 From: wangqing Date: Thu, 24 Mar 2022 14:43:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=81=E7=95=A5=E5=8F=B7=E6=8A=A5=E7=BA=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangqing --- .../background-task-dev-guide.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zh-cn/application-dev/background-task-management/background-task-dev-guide.md b/zh-cn/application-dev/background-task-management/background-task-dev-guide.md index ddcb9445f4..4635a0b01a 100644 --- a/zh-cn/application-dev/background-task-management/background-task-dev-guide.md +++ b/zh-cn/application-dev/background-task-management/background-task-dev-guide.md @@ -130,16 +130,16 @@ ohos.permission.KEEP_BACKGROUND_RUNNING ```json "module": { "package": "com.example.myapplication", - // ... + "abilities": [ - // ... + { "backgroundModes": [ "dataTransfer", "location", - // ... + ], - // ... + "type": "service" } ], -- GitLab