From 62071f4b93f083b850cac872cd31991c2451dd7c Mon Sep 17 00:00:00 2001 From: f00829171 Date: Sat, 3 Aug 2024 11:12:23 +0800 Subject: [PATCH] add wearable to DeviceType of app config Signed-off-by: f00829171 --- ability/dmsfwk/dmsfwk/src/main/config.json | 79 ++++++++++--------- .../dmsfwk/dmsfwkfatest/src/main/config.json | 79 ++++++++++--------- .../dmsfwk/dmsfwkserver/src/main/config.json | 4 +- .../entry/src/main/module.json | 7 +- .../entry/src/main/module.json | 9 ++- .../entry/src/main/module.json | 11 +-- .../entry/src/main/module.json | 11 +-- .../dsoftbus/rpc/src/main/config.json | 3 +- .../rpcserver/entry/src/main/module.json | 9 ++- .../dsoftbus_request/rpc/src/main/config.json | 3 +- .../rpcserver/entry/src/main/module.json | 9 ++- .../rpcclient/entry/src/main/module.json | 4 +- .../rpcserver/entry/src/main/module.json | 9 ++- .../client/entry/src/main/module.json | 4 +- .../server/entry/src/main/module.json | 5 +- .../server/entry/src/main/module.json | 5 +- .../client/entry/src/main/module.json | 4 +- .../server/entry/src/main/module.json | 5 +- .../client/entry/src/main/module.json | 4 +- .../server/entry/src/main/module.json | 4 +- .../server/hap/entry/src/main/module.json | 4 +- .../devicemanagernotest/src/main/config.json | 3 +- .../fileio/client/src/main/config.json | 32 ++++---- .../fileio/server/entry/src/main/module.json | 11 +-- multimedia/avsession/src/main/config.json | 3 +- .../entry/src/main/module.json | 23 +++--- 26 files changed, 177 insertions(+), 167 deletions(-) diff --git a/ability/dmsfwk/dmsfwk/src/main/config.json b/ability/dmsfwk/dmsfwk/src/main/config.json index f89c16e..f0cdb02 100644 --- a/ability/dmsfwk/dmsfwk/src/main/config.json +++ b/ability/dmsfwk/dmsfwk/src/main/config.json @@ -17,11 +17,12 @@ "package": "com.ohos.dmstest", "name": ".entry", "mainAbility": ".MainAbility", - "srcPath":"", + "srcPath": "", "deviceType": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "distro": { "deliveryWithInstall": true, @@ -31,42 +32,42 @@ }, "abilities": [ { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "orientation": "unspecified", - "formsEnabled": false, - "name": ".MainAbility", - "srcLanguage": "js", - "srcPath": "MainAbility", - "icon": "$media:icon", - "description": "$string:MainAbility_desc", - "label": "$string:MainAbility_label", - "type": "page", - "visible": true, - "launchType": "singleton" + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "orientation": "unspecified", + "formsEnabled": false, + "name": ".MainAbility", + "srcLanguage": "js", + "srcPath": "MainAbility", + "icon": "$media:icon", + "description": "$string:MainAbility_desc", + "label": "$string:MainAbility_label", + "type": "page", + "visible": true, + "launchType": "singleton" }, { - "orientation": "unspecified", - "formsEnabled": false, - "name": ".TestAbility", - "srcLanguage": "js", - "srcPath": "TestAbility", - "icon": "$media:icon", - "description": "$string:TestAbility_desc", - "label": "$string:TestAbility_label", - "type": "page", - "visible": true, - "launchType": "singleton" + "orientation": "unspecified", + "formsEnabled": false, + "name": ".TestAbility", + "srcLanguage": "js", + "srcPath": "TestAbility", + "icon": "$media:icon", + "description": "$string:TestAbility_desc", + "label": "$string:TestAbility_label", + "type": "page", + "visible": true, + "launchType": "singleton" } - ], + ], "reqPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO", @@ -108,8 +109,8 @@ } ], "testRunner": { - "name": "OpenHarmonyTestRunner", - "srcPath": "TestRunner" + "name": "OpenHarmonyTestRunner", + "srcPath": "TestRunner" } } } \ No newline at end of file diff --git a/ability/dmsfwk/dmsfwkfatest/src/main/config.json b/ability/dmsfwk/dmsfwkfatest/src/main/config.json index 571db69..45e0b0e 100644 --- a/ability/dmsfwk/dmsfwkfatest/src/main/config.json +++ b/ability/dmsfwk/dmsfwkfatest/src/main/config.json @@ -17,11 +17,12 @@ "package": "com.example.configuration", "name": ".entry", "mainAbility": ".MainAbility", - "srcPath":"", + "srcPath": "", "deviceType": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "distro": { "deliveryWithInstall": true, @@ -31,42 +32,42 @@ }, "abilities": [ { - "skills": [ - { - "entities": [ - "entity.system.home" - ], - "actions": [ - "action.system.home" - ] - } - ], - "orientation": "unspecified", - "formsEnabled": false, - "name": ".MainAbility", - "srcLanguage": "js", - "srcPath": "MainAbility", - "icon": "$media:icon", - "description": "$string:MainAbility_desc", - "label": "$string:MainAbility_label", - "type": "page", - "visible": true, - "launchType": "singleton" + "skills": [ + { + "entities": [ + "entity.system.home" + ], + "actions": [ + "action.system.home" + ] + } + ], + "orientation": "unspecified", + "formsEnabled": false, + "name": ".MainAbility", + "srcLanguage": "js", + "srcPath": "MainAbility", + "icon": "$media:icon", + "description": "$string:MainAbility_desc", + "label": "$string:MainAbility_label", + "type": "page", + "visible": true, + "launchType": "singleton" }, { - "orientation": "unspecified", - "formsEnabled": false, - "name": ".TestAbility", - "srcLanguage": "js", - "srcPath": "TestAbility", - "icon": "$media:icon", - "description": "$string:TestAbility_desc", - "label": "$string:TestAbility_label", - "type": "page", - "visible": true, - "launchType": "singleton" + "orientation": "unspecified", + "formsEnabled": false, + "name": ".TestAbility", + "srcLanguage": "js", + "srcPath": "TestAbility", + "icon": "$media:icon", + "description": "$string:TestAbility_desc", + "label": "$string:TestAbility_label", + "type": "page", + "visible": true, + "launchType": "singleton" } - ], + ], "reqPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO", @@ -108,8 +109,8 @@ } ], "testRunner": { - "name": "OpenHarmonyTestRunner", - "srcPath": "TestRunner" + "name": "OpenHarmonyTestRunner", + "srcPath": "TestRunner" } } } \ No newline at end of file diff --git a/ability/dmsfwk/dmsfwkserver/src/main/config.json b/ability/dmsfwk/dmsfwkserver/src/main/config.json index 4f5c131..b7220f1 100644 --- a/ability/dmsfwk/dmsfwkserver/src/main/config.json +++ b/ability/dmsfwk/dmsfwkserver/src/main/config.json @@ -33,7 +33,8 @@ "deviceType": [ "tablet", "default", - "2in1" + "2in1", + "wearable" ], "distro": { "deliveryWithInstall": true, @@ -70,7 +71,6 @@ "name": ".ServiceAbility", "icon": "$media:icon", "srcLanguage": "js", - "description": "$string:serviceability_description", "type": "service", "visible": true, diff --git a/ability/dmsfwk/dmsfwkstagepermissiontest/entry/src/main/module.json b/ability/dmsfwk/dmsfwkstagepermissiontest/entry/src/main/module.json index e9841e7..30a57f4 100644 --- a/ability/dmsfwk/dmsfwkstagepermissiontest/entry/src/main/module.json +++ b/ability/dmsfwk/dmsfwkstagepermissiontest/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:phone_entry_dsc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, diff --git a/ability/dmsfwk/dmsfwkstageserver/entry/src/main/module.json b/ability/dmsfwk/dmsfwkstageserver/entry/src/main/module.json index 0d07712..e574010 100644 --- a/ability/dmsfwk/dmsfwkstageserver/entry/src/main/module.json +++ b/ability/dmsfwk/dmsfwkstageserver/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -77,7 +78,7 @@ ], "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/ability/dmsfwk/dmsfwkstagetest/entry/src/main/module.json b/ability/dmsfwk/dmsfwkstagetest/entry/src/main/module.json index 72bb5e8..c48c82d 100644 --- a/ability/dmsfwk/dmsfwkstagetest/entry/src/main/module.json +++ b/ability/dmsfwk/dmsfwkstagetest/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:phone_entry_dsc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -22,7 +23,7 @@ ], "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.example.lifecycletest.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -41,7 +42,7 @@ } ] } - ], + ], "requestPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO" diff --git a/ability/dmsfwk/dmsfwkstagetestserver/entry/src/main/module.json b/ability/dmsfwk/dmsfwkstagetestserver/entry/src/main/module.json index e5cd073..6c6f714 100644 --- a/ability/dmsfwk/dmsfwkstagetestserver/entry/src/main/module.json +++ b/ability/dmsfwk/dmsfwkstagetestserver/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:phone_entry_dsc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -16,7 +17,7 @@ "pages": "$profile:main_pages", "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.example.lifecycletest.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -56,7 +57,7 @@ ], "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/communication/dsoftbus/rpc/src/main/config.json b/communication/dsoftbus/rpc/src/main/config.json index c6092fa..b763079 100755 --- a/communication/dsoftbus/rpc/src/main/config.json +++ b/communication/dsoftbus/rpc/src/main/config.json @@ -33,7 +33,8 @@ "tablet", "default", "phone", - "2in1" + "2in1", + "wearable" ], "distro": { "deliveryWithInstall": true, diff --git a/communication/dsoftbus/rpcserver/entry/src/main/module.json b/communication/dsoftbus/rpcserver/entry/src/main/module.json index 2278452..7a5b98e 100755 --- a/communication/dsoftbus/rpcserver/entry/src/main/module.json +++ b/communication/dsoftbus/rpcserver/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -49,7 +50,7 @@ ], "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/communication/dsoftbus_request/rpc/src/main/config.json b/communication/dsoftbus_request/rpc/src/main/config.json index ef69961..c3ee981 100755 --- a/communication/dsoftbus_request/rpc/src/main/config.json +++ b/communication/dsoftbus_request/rpc/src/main/config.json @@ -33,7 +33,8 @@ "tablet", "default", "phone", - "2in1" + "2in1", + "wearable" ], "distro": { "deliveryWithInstall": true, diff --git a/communication/dsoftbus_request/rpcserver/entry/src/main/module.json b/communication/dsoftbus_request/rpcserver/entry/src/main/module.json index 4a859b2..326f6cc 100755 --- a/communication/dsoftbus_request/rpcserver/entry/src/main/module.json +++ b/communication/dsoftbus_request/rpcserver/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -49,7 +50,7 @@ ], "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/communication/dsoftbus_rpcets/rpcclient/entry/src/main/module.json b/communication/dsoftbus_rpcets/rpcclient/entry/src/main/module.json index 8cc1692..6ef97f0 100644 --- a/communication/dsoftbus_rpcets/rpcclient/entry/src/main/module.json +++ b/communication/dsoftbus_rpcets/rpcclient/entry/src/main/module.json @@ -25,7 +25,7 @@ ], "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.acts.rpcrequest.test.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -44,7 +44,7 @@ } ] } - ], + ], "requestPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO" diff --git a/communication/dsoftbus_rpcets/rpcserver/entry/src/main/module.json b/communication/dsoftbus_rpcets/rpcserver/entry/src/main/module.json index 14f1777..0b485b2 100644 --- a/communication/dsoftbus_rpcets/rpcserver/entry/src/main/module.json +++ b/communication/dsoftbus_rpcets/rpcserver/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -49,7 +50,7 @@ ], "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/distributeddatamgr/jstest/distributed_data_object_stage/client/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_data_object_stage/client/entry/src/main/module.json index 73f95af..13cc69a 100644 --- a/distributeddatamgr/jstest/distributed_data_object_stage/client/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_data_object_stage/client/entry/src/main/module.json @@ -25,7 +25,7 @@ ], "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.acts.distributedobjectdisets.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -44,7 +44,7 @@ } ] } - ], + ], "requestPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO" diff --git a/distributeddatamgr/jstest/distributed_data_object_stage/server/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_data_object_stage/server/entry/src/main/module.json index d9fe8ec..328db42 100644 --- a/distributeddatamgr/jstest/distributed_data_object_stage/server/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_data_object_stage/server/entry/src/main/module.json @@ -19,7 +19,7 @@ "uiSyntax": "ets", "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.acts.distributedobjectdisets.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -51,10 +51,9 @@ "visible": true } ], - "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/distributeddatamgr/jstest/distributed_kv_store/server/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_kv_store/server/entry/src/main/module.json index 4b0bf8c..6c6e8be 100644 --- a/distributeddatamgr/jstest/distributed_kv_store/server/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_kv_store/server/entry/src/main/module.json @@ -50,10 +50,9 @@ "visible": true } ], - "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" @@ -65,7 +64,7 @@ "name": "ohos.permission.ACCESS_SERVICE_DM" }, { - "name":"ohos.permission.KEEP_BACKGROUND_RUNNING" + "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" } ] } diff --git a/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/module.json index 5a7bb73..c223ab9 100644 --- a/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_kv_store_stage/client/entry/src/main/module.json @@ -25,7 +25,7 @@ ], "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.acts.distributekvdisets.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -44,7 +44,7 @@ } ] } - ], + ], "requestPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO" diff --git a/distributeddatamgr/jstest/distributed_kv_store_stage/server/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_kv_store_stage/server/entry/src/main/module.json index c460404..5129628 100644 --- a/distributeddatamgr/jstest/distributed_kv_store_stage/server/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_kv_store_stage/server/entry/src/main/module.json @@ -50,10 +50,9 @@ "visible": true } ], - "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" @@ -65,7 +64,7 @@ "name": "ohos.permission.ACCESS_SERVICE_DM" }, { - "name":"ohos.permission.KEEP_BACKGROUND_RUNNING" + "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" } ] } diff --git a/distributeddatamgr/jstest/distributed_rdb_stage_store/client/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_rdb_stage_store/client/entry/src/main/module.json index 8a3f7d0..e97eb2c 100644 --- a/distributeddatamgr/jstest/distributed_rdb_stage_store/client/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_rdb_stage_store/client/entry/src/main/module.json @@ -25,7 +25,7 @@ ], "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.acts.distributerdbdisets.MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -44,7 +44,7 @@ } ] } - ], + ], "requestPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO" diff --git a/distributeddatamgr/jstest/distributed_rdb_stage_store/server/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_rdb_stage_store/server/entry/src/main/module.json index 39d2442..304025b 100644 --- a/distributeddatamgr/jstest/distributed_rdb_stage_store/server/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_rdb_stage_store/server/entry/src/main/module.json @@ -19,7 +19,7 @@ "pages": "$profile:main_pages", "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.acts.distributerdbdisets", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -51,7 +51,7 @@ ], "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/distributeddatamgr/jstest/distributed_rdb_store/server/hap/entry/src/main/module.json b/distributeddatamgr/jstest/distributed_rdb_store/server/hap/entry/src/main/module.json index cb418f9..cd607df 100644 --- a/distributeddatamgr/jstest/distributed_rdb_store/server/hap/entry/src/main/module.json +++ b/distributeddatamgr/jstest/distributed_rdb_store/server/hap/entry/src/main/module.json @@ -19,7 +19,7 @@ "pages": "$profile:main_pages", "abilities": [ { - "continuable":true, + "continuable": true, "name": "com.acts.distributerdbdisjs", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:phone_entry_main", @@ -51,7 +51,7 @@ ], "requestPermissions": [ { - "name":"ohos.permission.GET_BUNDLE_INFO" + "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.DISTRIBUTED_DATASYNC" diff --git a/distributedhardware/devicemanagernotest/src/main/config.json b/distributedhardware/devicemanagernotest/src/main/config.json index f8cfe62..e5da031 100644 --- a/distributedhardware/devicemanagernotest/src/main/config.json +++ b/distributedhardware/devicemanagernotest/src/main/config.json @@ -13,8 +13,7 @@ }, "deviceConfig": {}, "module": { - "reqPermissions": [ - ], + "reqPermissions": [], "package": "com.ohos.distributedjstest", "name": ".entry", "mainAbility": ".MainAbility", diff --git a/filemanagement/fileio/client/src/main/config.json b/filemanagement/fileio/client/src/main/config.json index 6808f7b..f683d39 100644 --- a/filemanagement/fileio/client/src/main/config.json +++ b/filemanagement/fileio/client/src/main/config.json @@ -32,8 +32,8 @@ ], "package": "com.acts.fileio.test.server", "name": ".entry", - "mainAbility":".MainAbility", - "srcPath":"", + "mainAbility": ".MainAbility", + "srcPath": "", "deviceType": [ "phone", "tablet", @@ -69,21 +69,21 @@ "description": "$string:mainability_description", "label": "$string:app_name", "type": "page", - "visible":true, + "visible": true, "launchType": "standard" }, { - "orientation": "unspecified", - "formsEnabled": false, - "name": ".TestAbility", - "srcLanguage": "js", - "srcPath": "TestAbility", - "icon": "$media:icon", - "description": "$string:TestAbility_desc", - "label": "$string:TestAbility_label", - "type": "page", - "visible": true, - "launchType": "standard" + "orientation": "unspecified", + "formsEnabled": false, + "name": ".TestAbility", + "srcLanguage": "js", + "srcPath": "TestAbility", + "icon": "$media:icon", + "description": "$string:TestAbility_desc", + "label": "$string:TestAbility_label", + "type": "page", + "visible": true, + "launchType": "standard" } ], "js": [ @@ -109,8 +109,8 @@ } ], "testRunner": { - "name": "OpenHarmonyTestRunner", - "srcPath": "TestRunner" + "name": "OpenHarmonyTestRunner", + "srcPath": "TestRunner" } } } \ No newline at end of file diff --git a/filemanagement/fileio/server/entry/src/main/module.json b/filemanagement/fileio/server/entry/src/main/module.json index bcbea21..8599cc8 100644 --- a/filemanagement/fileio/server/entry/src/main/module.json +++ b/filemanagement/fileio/server/entry/src/main/module.json @@ -6,9 +6,10 @@ "description": "$string:entry_desc", "mainElement": "MainAbility", "deviceTypes": [ - "default", - "tablet", - "2in1" + "default", + "tablet", + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -37,7 +38,7 @@ ] } ], - "extensionAbilities":[ + "extensionAbilities": [ { "name": "com.acts.fileio.test.server.ServiceAbility", "srcEntrance": "./ets/serviceability/ServiceAbility.ts", @@ -57,7 +58,7 @@ { "name": "ohos.permission.GET_BUNDLE_INFO" }, - { + { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING" }, { diff --git a/multimedia/avsession/src/main/config.json b/multimedia/avsession/src/main/config.json index b2c0607..3466e77 100644 --- a/multimedia/avsession/src/main/config.json +++ b/multimedia/avsession/src/main/config.json @@ -38,7 +38,8 @@ "tablet", "default", "phone", - "2in1" + "2in1", + "wearable" ], "distro": { "deliveryWithInstall": true, diff --git a/multimedia/avsessionserver/entry/src/main/module.json b/multimedia/avsessionserver/entry/src/main/module.json index f6cbb6c..ed48662 100644 --- a/multimedia/avsessionserver/entry/src/main/module.json +++ b/multimedia/avsessionserver/entry/src/main/module.json @@ -9,7 +9,8 @@ "default", "tablet", "phone", - "2in1" + "2in1", + "wearable" ], "deliveryWithInstall": true, "installationFree": false, @@ -17,7 +18,7 @@ "pages": "$profile:main_pages", "abilities": [ { - "continuable":true, + "continuable": true, "name": "MainAbility", "srcEntrance": "./ets/MainAbility/MainAbility.ts", "description": "$string:EntryAbility_desc", @@ -37,15 +38,15 @@ ] } ], - "extensionAbilities": [ - { - "name": "com.acts.avsessionserver.ServiceAbility", - "srcEntrance": "./ets/serviceability/ServiceAbility.ts", - "type": "service", - "visible": true, - "description": "service" - } - ], + "extensionAbilities": [ + { + "name": "com.acts.avsessionserver.ServiceAbility", + "srcEntrance": "./ets/serviceability/ServiceAbility.ts", + "type": "service", + "visible": true, + "description": "service" + } + ], "requestPermissions": [ { "name": "ohos.permission.DISTRIBUTED_DATASYNC"