From 712b7a3baba94057b651fd9b5d787506c651ed70 Mon Sep 17 00:00:00 2001 From: longwei Date: Wed, 27 Jul 2022 10:56:33 +0800 Subject: [PATCH] add restartAfterKilled for app Signed-off-by: longwei Change-Id: I1ea6e8366bfc792feb5d83d347477b1ac1a73668 --- configcheck/configSchema_rich.json | 7 ++++++- modulecheck/app.json | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configcheck/configSchema_rich.json b/configcheck/configSchema_rich.json index 8a3f614c..5248f2ab 100755 --- a/configcheck/configSchema_rich.json +++ b/configcheck/configSchema_rich.json @@ -36,7 +36,8 @@ "targetBundleList", "singleton", "removable", - "userDataClearable" + "userDataClearable", + "restartAfterKilled" ] }, "properties": { @@ -166,6 +167,10 @@ "userDataClearable": { "description": "Specifies whether to allow clear data. only for system application", "type": "boolean" + }, + "restartAfterKilled": { + "description": "Specifies whether to restart after killed. Only for system application", + "type": "boolean" } } }, diff --git a/modulecheck/app.json b/modulecheck/app.json index d0fdc0a3..27f3db6e 100644 --- a/modulecheck/app.json +++ b/modulecheck/app.json @@ -44,6 +44,7 @@ "userDataClearable", "accessible", "targetBundleList", + "restartAfterKilled", "default", "tablet", "tv", @@ -178,6 +179,10 @@ "type": "string" } }, + "restartAfterKilled": { + "description": "Specifies whether to restart after killed. Only for system application", + "type": "boolean" + }, "default": { "description": "The configuration in the default tag is applicable to all devices. If the configuration is different for other device types, you need to configure the configuration under the configuration tag of the device type.", "type": "object", -- Gitee