From 118d2fe0c766129f3cdeb0d4fe690e426d927bca Mon Sep 17 00:00:00 2001 From: wangtiantian Date: Fri, 11 Feb 2022 10:27:44 +0800 Subject: [PATCH] IssueNo: #I4T8RQ : fix bms testcase Description: fix bms testcase Sig:SIG_ApplicaitonFramework Feature or Bugfix:BugFix Binary Source:No Signed-off-by: wangtiantian --- .../signature/openharmony_sx.p7b | Bin 3443 -> 3442 bytes .../actsbmskittest/entry/src/main/config.json | 15 --------------- .../src/main/js/test/ActsBmsKitTest.test.js | 2 +- 3 files changed, 1 insertion(+), 16 deletions(-) diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmscheckpermissiontest/signature/openharmony_sx.p7b b/appexecfwk/bundle_standard/bundlemanager/actsbmscheckpermissiontest/signature/openharmony_sx.p7b index 66b4457a8a81fb8d3356cf46d67226c850944858..32af87c4958f856f6de04e8231fd576116279b01 100755 GIT binary patch delta 208 zcmew?^+`(Hpouq+jZ>@5qwPB{BRkWACf<0UQ1nLeD=chz`9-;jIh#MS*t2sv8Z
A8r2sEPjp*tz{SP^wDO!S3o{doyMZf{LWbjE&)0@iH?EkTW%B;r_sxaB z8G9f3U4AO=wmZ3+^{5w@5qwPB{BRkWACf)>~P|Qa0D=ciqmBl5gxtl+-*t2sv88k84 zF)=b4WKT|HO`SZS$EDuD!ob|n$iz6xKp$=bCySvHi$Y(4lpdE2n==1s>>lZ8SJN-QCtgul zkb0qW%GTUXQyGLGeH3^DR5CAOqv;u@1?xioexADiJ*(g<@2&HzRhBazeBN+&+e7v> Fd;kyBO?LnQ diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/config.json b/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/config.json index 87001f05c..efcb2a8bf 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/config.json +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/config.json @@ -63,11 +63,6 @@ "name": "com.permission.CAMERA", "grantMode": "user_grant", "availableScope": ["signature"] - }, - { - "name": "com.permission.PERMISSION_A", - "grantMode": "system_grant", - "availableScope": ["signature"] } ], "reqPermissions": [ @@ -104,16 +99,6 @@ ], "when": "always" } - }, - { - "name": "com.permission.PERMISSION_A", - "reason": "Need PERMISSION_A", - "usedScene": { - "ability": [ - "com.example.actsbmscheckpermissiontest.MainAbility" - ], - "when": "always" - } } ] } diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/js/test/ActsBmsKitTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/js/test/ActsBmsKitTest.test.js index b591d2680..10874e80a 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/js/test/ActsBmsKitTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmskittest/entry/src/main/js/test/ActsBmsKitTest.test.js @@ -20,7 +20,7 @@ import commonEvent from '@ohos.commonevent' const STRESSLEVEL = 20; const BUNDLE_NAME = 'com.example.actsbmskittest'; -const PERMISSION_NAME = 'com.permission.PERMISSION_A'; +const PERMISSION_NAME = 'ohos.permission.GET_BUNDLE_INFO_PRIVILEGED'; const START_ABILITY_TIMEOUT = 3000; var subscriberInfo_0100 = { events: ['ACTS_Third1_Publish_CommonEvent'], -- GitLab