diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js index 2e66489f99c0786c3b10449cecbc51644261bf17..82168354d0c8fd57e4ebc96b16b7aa0790aeec6e 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsaccesstokentest/entry/src/main/js/test/ActsBmsAccessTokenTest.test.js @@ -63,13 +63,13 @@ describe('ActsBmsAccessTokenTest', function () { .then(bundleInfo => { expect(bundleInfo.name).assertEqual(BUNDLE_NAME3); expect(bundleInfo.reqPermissions.length).assertEqual(3); - expect(bundleInfo.reqPermissions[0]).assertEqual("ohos.permission.ALPHA"); - expect(bundleInfo.reqPermissions[1]).assertEqual("ohos.permission.BETA"); - expect(bundleInfo.reqPermissions[2]).assertEqual("ohos.permission.KEEP_BACKGROUND_RUNNING"); + expect(bundleInfo.reqPermissions[0]).assertEqual("ohos.permission.KEEP_BACKGROUND_RUNNING"); + expect(bundleInfo.reqPermissions[1]).assertEqual("ohos.permission.MICROPHONE"); + expect(bundleInfo.reqPermissions[2]).assertEqual("ohos.permission.READ_CALENDAR"); expect(bundleInfo.reqPermissionStates.length).assertEqual(3); - expect(bundleInfo.reqPermissionStates[0]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); + expect(bundleInfo.reqPermissionStates[0]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); expect(bundleInfo.reqPermissionStates[1]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); - expect(bundleInfo.reqPermissionStates[2]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); + expect(bundleInfo.reqPermissionStates[2]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); done(); }).catch((err) => { expect(err).assertFail(); @@ -87,14 +87,14 @@ describe('ActsBmsAccessTokenTest', function () { .then(bundleInfo => { expect(bundleInfo.name).assertEqual(BUNDLE_NAME2); expect(bundleInfo.reqPermissions.length).assertEqual(5); - expect(bundleInfo.reqPermissions[0]).assertEqual("ohos.permission.ALPHA"); - expect(bundleInfo.reqPermissions[1]).assertEqual("ohos.permission.KEEP_BACKGROUND_RUNNING"); - expect(bundleInfo.reqPermissions[2]).assertEqual("ohos.permission.LOCATION_IN_BACKGROUND"); + expect(bundleInfo.reqPermissions[0]).assertEqual("ohos.permission.KEEP_BACKGROUND_RUNNING"); + expect(bundleInfo.reqPermissions[1]).assertEqual("ohos.permission.LOCATION_IN_BACKGROUND"); + expect(bundleInfo.reqPermissions[2]).assertEqual("ohos.permission.READ_CALENDAR"); expect(bundleInfo.reqPermissions[3]).assertEqual("ohos.permission.SYSTEM_FLOAT_WINDOW"); expect(bundleInfo.reqPermissions[4]).assertEqual("ohos.permission.USE_BLUETOOTH"); expect(bundleInfo.reqPermissionStates.length).assertEqual(5); - expect(bundleInfo.reqPermissionStates[0]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); - expect(bundleInfo.reqPermissionStates[1]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); + expect(bundleInfo.reqPermissionStates[0]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); + expect(bundleInfo.reqPermissionStates[1]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); expect(bundleInfo.reqPermissionStates[2]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); expect(bundleInfo.reqPermissionStates[3]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); expect(bundleInfo.reqPermissionStates[4]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); @@ -115,16 +115,16 @@ describe('ActsBmsAccessTokenTest', function () { .then(bundleInfo => { expect(bundleInfo.name).assertEqual(BUNDLE_NAME1); expect(bundleInfo.reqPermissions.length).assertEqual(6); - expect(bundleInfo.reqPermissions[0]).assertEqual("ohos.permission.ALPHA"); - expect(bundleInfo.reqPermissions[1]).assertEqual("ohos.permission.BETA"); - expect(bundleInfo.reqPermissions[2]).assertEqual("ohos.permission.KEEP_BACKGROUND_RUNNING"); - expect(bundleInfo.reqPermissions[3]).assertEqual("ohos.permission.LOCATION_IN_BACKGROUND"); + expect(bundleInfo.reqPermissions[0]).assertEqual("ohos.permission.KEEP_BACKGROUND_RUNNING"); + expect(bundleInfo.reqPermissions[1]).assertEqual("ohos.permission.LOCATION_IN_BACKGROUND"); + expect(bundleInfo.reqPermissions[2]).assertEqual("ohos.permission.MICROPHONE"); + expect(bundleInfo.reqPermissions[3]).assertEqual("ohos.permission.READ_CALENDAR"); expect(bundleInfo.reqPermissions[4]).assertEqual("ohos.permission.SYSTEM_FLOAT_WINDOW"); expect(bundleInfo.reqPermissions[5]).assertEqual("ohos.permission.USE_BLUETOOTH"); expect(bundleInfo.reqPermissionStates.length).assertEqual(6); - expect(bundleInfo.reqPermissionStates[0]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); + expect(bundleInfo.reqPermissionStates[0]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); expect(bundleInfo.reqPermissionStates[1]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); - expect(bundleInfo.reqPermissionStates[2]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); + expect(bundleInfo.reqPermissionStates[2]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); expect(bundleInfo.reqPermissionStates[3]).assertEqual(bundle.GrantStatus.PERMISSION_DENIED); expect(bundleInfo.reqPermissionStates[4]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); expect(bundleInfo.reqPermissionStates[5]).assertEqual(bundle.GrantStatus.PERMISSION_GRANTED); diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/config.json index 10dd96f9abbc1ce6becf0b0250f2f4b4670ce882..70f9f17e80d87d65b73c6df8c991f687e5bedda9 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/config.json @@ -46,29 +46,6 @@ "launchType": "standard" } ], - "defPermissions": [ - { - "name": "com.permission.CAMERA", - "grantMode": "system_grant", - "availableScope": ["signature"], - "label": "CAMERA permission", - "description": "CAMERA permission in detail" - }, - { - "name": "com.permission.music", - "grantMode": "system_grant", - "availableScope": ["signature"], - "label": "music permission", - "description": "music permission in detail" - }, - { - "name": "com.permission.WeChat", - "grantMode": "system_grant", - "availableScope": ["signature"], - "label": "WeChat permission", - "description": "WeChat permission in detail" - } - ], "reqPermissions": [ { "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js index 5f08172da7037d04781f455b32a175cd210798be..0d85f66357de5e976e35201bd3db58db6411b98a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbundlemanagertest/entry/src/main/js/test/ExampleJsunit.test.js @@ -77,9 +77,9 @@ describe('ActsBundleManagerTest', function () { expect(datainfo.appInfo.supportedModes).assertEqual(0); expect(datainfo.installTime).assertLarger(0); expect(datainfo.updateTime).assertLarger(0); - expect(datainfo.reqPermissions[0]).assertEqual("com.permission.PERMISSION_A"); - expect(datainfo.reqPermissionDetails[0].name).assertEqual("com.permission.PERMISSION_A"); - expect(datainfo.reqPermissionDetails[0].reason).assertEqual("Need PERMISSION_A"); + expect(datainfo.reqPermissions[0]).assertEqual("ohos.permission.USE_BLUETOOTH"); + expect(datainfo.reqPermissionDetails[0].name).assertEqual("ohos.permission.USE_BLUETOOTH"); + expect(datainfo.reqPermissionDetails[0].reason).assertEqual("Need USE_BLUETOOTH"); expect(datainfo.reqPermissionDetails[0].usedScene.abilities[0]).assertEqual(NAME1 + ".MainAbility"); expect(datainfo.reqPermissionDetails[0].usedScene.when).assertEqual("always"); expect(datainfo.compatibleVersion).assertEqual(5); @@ -1030,7 +1030,7 @@ describe('ActsBundleManagerTest', function () { expect(datainfo.subType).assertEqual(demo.AbilitySubType.UNSPECIFIED); expect(datainfo.orientation).assertEqual(demo.DisplayOrientation.UNSPECIFIED); expect(datainfo.launchMode).assertEqual(demo.LaunchMode.STANDARD); - expect(datainfo.permissions[0]).assertEqual("com.permission.BMS_PERMISSION_CAMERA"); + expect(datainfo.permissions[0]).assertEqual("ohos.permission.INTERNET"); expect(datainfo.applicationInfo.name).assertEqual(NAME1); expect(datainfo.applicationInfo.description).assertEqual(APPLICATION_DESCRIPTION); expect(datainfo.applicationInfo.descriptionId >= 0).assertTrue(); diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/config.json index a7bb5a8eb6a554e25e7c4d333d3bd14813fdcc11..00749990c22bc6a3322cba82767fa8c564a4fad4 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfive/src/main/config.json @@ -66,34 +66,14 @@ } } ], - "definePermissions":[ - { - "availableLevel":"normal", - "description":"ALPHA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"ALPHA label", - "name":"ohos.permission.ALPHA", - "provisionEnable":true - }, - { - "availableLevel":"normal", - "description":"BETA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"BETA label", - "name":"ohos.permission.BETA", - "provisionEnable":true - } - ], "reqPermissions":[ { - "name":"ohos.permission.ALPHA", - "reason":"use ohos.permission.ALPHA" + "name":"ohos.permission.READ_CALENDAR", + "reason":"use ohos.permission.READ_CALENDAR" }, { - "name":"ohos.permission.BETA", - "reason":"use ohos.permission.BETA" + "name":"ohos.permission.MICROPHONE", + "reason":"use ohos.permission.MICROPHONE" }, { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/config.json index 20a8be88d6afb97d908179891434dc2576d85556..4d2795c2d7e229d7e668e58d483279d6b48ba5cb 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenfour/src/main/config.json @@ -66,34 +66,14 @@ } } ], - "definePermissions":[ - { - "availableLevel":"normal", - "description":"ALPHA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"ALPHA label", - "name":"ohos.permission.ALPHA", - "provisionEnable":true - }, - { - "availableLevel":"normal", - "description":"BETA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"BETA label", - "name":"ohos.permission.BETA", - "provisionEnable":true - } - ], "reqPermissions":[ { - "name":"ohos.permission.ALPHA", - "reason":"use ohos.permission.ALPHA" + "name":"ohos.permission.READ_CALENDAR", + "reason":"use ohos.permission.READ_CALENDAR" }, { - "name":"ohos.permission.BETA", - "reason":"use ohos.permission.BETA" + "name":"ohos.permission.MICROPHONE", + "reason":"use ohos.permission.MICROPHONE" }, { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenone/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenone/src/main/config.json index ff97f0714b51858273cf417ee8a7c56eafce07ff..118579a1cb247630cf5cf03c0a30896d8cc37ae5 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenone/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenone/src/main/config.json @@ -66,34 +66,14 @@ } } ], - "definePermissions":[ - { - "availableLevel":"normal", - "description":"ALPHA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"ALPHA label", - "name":"ohos.permission.ALPHA", - "provisionEnable":true - }, - { - "availableLevel":"normal", - "description":"BETA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"BETA label", - "name":"ohos.permission.BETA", - "provisionEnable":true - } - ], "reqPermissions":[ { - "name":"ohos.permission.ALPHA", - "reason":"use ohos.permission.ALPHA" + "name":"ohos.permission.READ_CALENDAR", + "reason":"use ohos.permission.READ_CALENDAR" }, { - "name":"ohos.permission.BETA", - "reason":"use ohos.permission.BETA" + "name":"ohos.permission.MICROPHONE", + "reason":"use ohos.permission.MICROPHONE" }, { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenthree/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenthree/src/main/config.json index b03b92b9bc4288e4740787e1cbfef8d19b76285d..7a29551588b64566f756bcfa7f2d6676affa5bff 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenthree/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokenthree/src/main/config.json @@ -66,30 +66,10 @@ } } ], - "definePermissions":[ - { - "availableLevel":"normal", - "description":"ALPHA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"ALPHA label", - "name":"ohos.permission.ALPHA", - "provisionEnable":true - }, - { - "availableLevel":"normal", - "description":"BETA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"BETA label", - "name":"ohos.permission.BETA", - "provisionEnable":true - } - ], "reqPermissions":[ { - "name":"ohos.permission.ALPHA", - "reason":"use ohos.permission.ALPHA" + "name":"ohos.permission.READ_CALENDAR", + "reason":"use ohos.permission.READ_CALENDAR" }, { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json index 462b69a87de8c338bd00b04fff812637efe545d5..4558c3fbb3edbc76bf4a787f7a795872727f9fd2 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsaccesstokentwo/src/main/config.json @@ -66,30 +66,10 @@ } } ], - "definePermissions":[ - { - "availableLevel":"normal", - "description":"ALPHA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"ALPHA label", - "name":"ohos.permission.ALPHA", - "provisionEnable":true - }, - { - "availableLevel":"normal", - "description":"BETA description", - "distributedSceneEnable":true, - "grantMode":"user_grant", - "label":"BETA label", - "name":"ohos.permission.BETA", - "provisionEnable":true - } - ], "reqPermissions":[ { - "name":"ohos.permission.ALPHA", - "reason":"use ohos.permission.ALPHA" + "name":"ohos.permission.READ_CALENDAR", + "reason":"use ohos.permission.READ_CALENDAR" }, { "name": "ohos.permission.KEEP_BACKGROUND_RUNNING", diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json index 8274524d30fc18c71c6160646cb9b5acac438ff1..620e93ac0e627b6b855ea590d7af5da4d28a343a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsgetinfosfirstscene/src/main/config.json @@ -160,18 +160,6 @@ } } ], - "defPermissions": [ - { - "name": "com.permission.PERMISSION_THIRD1", - "grantMode": "user_grant", - "availableScope": ["signature"] - }, - { - "name": "com.permission.PERMISSION_B", - "grantMode": "system_grant", - "availableScope": ["signature"] - } - ], "description":"$string:entry_description" } } \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/config.json index f25b44084018ea8e81d3117acdea4c86dfd654d2..9b44984807bbf9a36038c96106726ad64069d929 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefive/src/main/config.json @@ -61,17 +61,6 @@ } } ], - "defPermissions": [ - { - "availableScope": [ - "signature" - ], - "grantMode": "system_grant", - "name": "com.permission.BMS_PERMISSION_MUSIC", - "description": "BMS_PERMISSION_MUSIC permission in detail", - "label": "BMS_PERMISSION_MUSIC permission" - } - ], "description":"$string:entry_description" } } \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/config.json index e0db9144b3b42b96ea130b9bcda46f2331bc0508..282a282dc186409e887f12d554941d4b89c7cae0 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenefour/src/main/config.json @@ -60,17 +60,6 @@ } } ], - "defPermissions": [ - { - "availableScope": [ - "signature" - ], - "grantMode": "system_grant", - "name": "com.permission.BMS_PERMISSION_CAMERA", - "description": "BMS_PERMISSION_CAMERA permission in detail", - "label": "BMS_PERMISSION_CAMERA permission" - } - ], "description":"$string:entry_description" } } \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/config.json index 667b6f6c64e922fc9997d8449946b7f01cde877a..7709199e1fe6b4150c9049bd299cdd837183548e 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneone/src/main/config.json @@ -45,7 +45,7 @@ "launchType": "standard", "orientation": "unspecified", "language": "C++", - "permissions":["com.permission.BMS_PERMISSION_CAMERA"], + "permissions":["ohos.permission.INTERNET"], "metaData": { "customizeData": [ { @@ -68,26 +68,10 @@ } } ], - "defPermissions": [ - { - "availableScope": [ - "signature" - ], - "grantMode": "system_grant", - "name": "com.permission.BMS_PERMISSION_CAMERA", - "description": "BMS_PERMISSION_CAMERA permission in detail", - "label": "BMS_PERMISSION_CAMERA permission" - }, - { - "name": "com.permission.PERMISSION_A", - "grantMode": "system_grant", - "availableScope": ["signature"] - } - ], "reqPermissions": [ { - "name": "com.permission.PERMISSION_A", - "reason": "Need PERMISSION_A", + "name": "ohos.permission.USE_BLUETOOTH", + "reason": "Need USE_BLUETOOTH", "usedScene": { "ability": [ "com.example.myapplication1.MainAbility" diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/config.json index 506c87b97d8e415653313f1897ec5baf54da8ddc..19a7e8995be74df3cdffa0a9fe2eebc7b896e131 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmssceneseven/src/main/config.json @@ -1 +1 @@ -{"app": {"apiVersion": {"compatible": 5,"releaseType": "Beta1","target": 5},"vendor": "example","bundleName": "com.example.napi_test_suite10","version": {"code": 1,"name": "1.0"}},"deviceConfig": {"default": {"debug": true}},"module": {"abilities": [{"iconId": 16777218,"skills": [{"entities": ["entity.system.home","flag.home.intent.from.system"],"actions": ["action.system.home"]}],"descriptionId": 16777217,"labelId": 16777216,"icon": "$media:icon","name": "com.example.napi_test_suite.MainAbility","description": "$string:mainability_description","label": "$string:app_name","type": "page","launchType": "standard"}],"deviceType": ["phone"],"distro": {"moduleType": "entry","deliveryWithInstall": true,"moduleName": "entry"},"package": "com.example.napi_test_suite","defPermissions": [{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.CAMERA","description": "CAMERA permission in detail","label": "CAMERA permission"},{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.music","description": "music permission in detail","label": "music permission"},{"availableScope": ["signature"],"grantMode": "system_grant","name": "com.permission.WeChat","description": "WeChat permission in detail","label": "WeChat permission"}],"name": ".MyApplication","js": [{"pages": ["pages/index/index"],"name": "default","window": {"designWidth": 720,"autoDesignWidth": false}}]}} \ No newline at end of file +{"app": {"apiVersion": {"compatible": 5,"releaseType": "Beta1","target": 5},"vendor": "example","bundleName": "com.example.napi_test_suite10","version": {"code": 1,"name": "1.0"}},"deviceConfig": {"default": {"debug": true}},"module": {"abilities": [{"iconId": 16777218,"skills": [{"entities": ["entity.system.home","flag.home.intent.from.system"],"actions": ["action.system.home"]}],"descriptionId": 16777217,"labelId": 16777216,"icon": "$media:icon","name": "com.example.napi_test_suite.MainAbility","description": "$string:mainability_description","label": "$string:app_name","type": "page","launchType": "standard"}],"deviceType": ["phone"],"distro": {"moduleType": "entry","deliveryWithInstall": true,"moduleName": "entry"},"package": "com.example.napi_test_suite","name": ".MyApplication","js": [{"pages": ["pages/index/index"],"name": "default","window": {"designWidth": 720,"autoDesignWidth": false}}]}} \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/config.json index c1edda7c6eb4518f2e77621cdb47f381b7d0dfc5..f404b3a6aa06a1915b88811065dfdb6d29ce0c02 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenesix/src/main/config.json @@ -59,17 +59,6 @@ } } ], - "defPermissions": [ - { - "availableScope": [ - "signature" - ], - "grantMode": "system_grant", - "name": "com.permission.BMS_PERMISSION_WECHAT", - "description": "BMS_PERMISSION_WECHAT permission in detail", - "label": "BMS_PERMISSION_WECHAT permission" - } - ], "description":"$string:entry_description" } } \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/config.json index f209ba613047c21b6ade3916ecbd41c926c5a523..34bc79ed33d8d8adc25299be445e56806f3f0ef8 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenethree/src/main/config.json @@ -66,17 +66,6 @@ } } ], - "defPermissions": [ - { - "availableScope": [ - "signature" - ], - "grantMode": "system_grant", - "name": "com.permission.BMS_PERMISSION_MUSIC", - "description": "BMS_PERMISSION_MUSIC permission in detail", - "label": "BMS_PERMISSION_MUSIC permission" - } - ], "description":"$string:entry_description" } } \ No newline at end of file diff --git a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/config.json index 48248463babc1087b88a2f9541534a952f3eb4f2..33f6de1c0154075784b32d89742d5a59c4a7ba67 100644 --- a/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/sceneProject/bmsscenetwo/src/main/config.json @@ -59,17 +59,6 @@ } } ], - "defPermissions": [ - { - "availableScope": [ - "signature" - ], - "grantMode": "system_grant", - "name": "com.permission.BMS_PERMISSION_CAMERA", - "description": "BMS_PERMISSION_CAMERA permission in detail", - "label": "BMS_PERMISSION_CAMERA permission" - } - ], "description":"$string:entry_description" } } \ No newline at end of file