mirror of
https://gitee.com/openharmony/useriam_user_auth_framework
synced 2024-11-23 07:39:51 +00:00
commit
023389cf41
@ -359,8 +359,8 @@ bool IpcCommon::GetCallingAppID(IPCObjectStub &stub, std::string &callingAppID)
|
||||
return false;
|
||||
}
|
||||
|
||||
HapTokenInfo hapTokenInfo;
|
||||
int result = AccessTokenKit::GetHapTokenInfo(tokenId, hapTokenInfo);
|
||||
HapTokenInfoExt hapTokenInfo;
|
||||
int result = AccessTokenKit::GetHapTokenInfoExtension(tokenId, hapTokenInfo);
|
||||
if (result != SUCCESS) {
|
||||
IAM_LOGE("failed to get hap token info, result = %{public}d", result);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user