<修改权限>

Signed-off-by: bjliang <bianjianliang1@huawei.com>
This commit is contained in:
bjliang 2023-03-22 15:54:26 +08:00
parent a6498bec04
commit 583f73885b

View File

@ -54,23 +54,6 @@ public:
};
void DSreenAutomatTest::SetUpTestCase(void)
{
// uint64_t tokenId;
// const char *perms[2];
// perms[0] = OHOS_PERMISSION_DISTRIBUTED_SOFTBUS_CENTER;
// perms[1] = OHOS_PERMISSION_DISTRIBUTED_DATASYNC;
// NativeTokenInfoParams infoTnstance = {
// .dcapsNum = 0,
// .permsNum = 2,
// .aclsNum = 0,
// .dcaps = NULL,
// .perms = perms,
// .acls = NULL,
// .processName = "dsoftbus_service",
// .aplStr = "system_core",
// };
// tokenId = GetAccessTokenId(&infoTnstance);
// SetSelfTokenID(tokenId);
HapInfoParams info = {
.userID = 1,
.bundleName = "DctsdisScreenTest",