From 1781a57290fb5c07042557c7f1f9adb5a0815cf3 Mon Sep 17 00:00:00 2001 From: SoftSquirrel Date: Thu, 20 Jan 2022 10:03:27 +0800 Subject: [PATCH] Description:config.json add userDataClearable and continuable; modify singleUser to singleton.module.json add continuable. Feature or Bugfix: Feature Binary Source: No Signed-off-by: SoftSquirrel --- configcheck/configSchema_rich.json | 18 ++++++++++++++---- modulecheck/module.json | 7 ++++++- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/configcheck/configSchema_rich.json b/configcheck/configSchema_rich.json index 42aedf2a..c66cc5fd 100755 --- a/configcheck/configSchema_rich.json +++ b/configcheck/configSchema_rich.json @@ -34,8 +34,9 @@ "smartWindowSize", "smartWindowDeviceType", "targetBundleList", - "singleUser", - "removable" + "singleton", + "removable", + "userDataClearable" ] }, "properties": { @@ -155,9 +156,13 @@ "type": "string" } }, - "singleUser": { + "singleton": { "description": "Specifies whether the application is multi-instance according to the memory situation. If this attribute is set to true, the application is system application.", "type": "boolean" + }, + "userDataClearable": { + "description": "Specifies whether to allow clear data. only for system application", + "type": "boolean" } } }, @@ -1295,7 +1300,8 @@ "deviceCapability", "resizeable", "srcLanguage", - "srcPath" + "srcPath", + "continuable" ] }, "required": [ @@ -2175,6 +2181,10 @@ ] } } + }, + "continuable": { + "description": "Identifies whether the ability can be migrated. The default value is false.", + "type": "boolean" } } } diff --git a/modulecheck/module.json b/modulecheck/module.json index 143e14e3..92523052 100644 --- a/modulecheck/module.json +++ b/modulecheck/module.json @@ -183,7 +183,8 @@ "metadata", "visible", "skills", - "backgroundModes" + "backgroundModes", + "continuable" ] }, "properties": { @@ -389,6 +390,10 @@ "taskKeeping" ] } + }, + "continuable": { + "description": "Identifies whether the ability can be migrated. The default value is false.", + "type": "boolean" } } } -- Gitee