mirror of
https://gitee.com/openharmony/xts_dcts
synced 2024-11-27 09:50:32 +00:00
<修改权限>
Signed-off-by: bjliang <bianjianliang1@huawei.com>
This commit is contained in:
parent
a6498bec04
commit
583f73885b
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user