fix codex

Signed-off-by: wangxingboo <wangxingbo11@h-partners.com>
This commit is contained in:
wangxingboo 2024-10-09 15:07:21 +08:00
parent 2786dfe65d
commit 6e7fcaf2d4
3 changed files with 5 additions and 2 deletions

View File

@ -237,6 +237,9 @@ bool EsimFile::ProcessCancelSessionDone(const AppExecFwk::InnerEvent::Pointer &e
}
std::string responseResult;
uint32_t byteLen = root->Asn1AsBytes(responseResult);
if (byteLen == 0) {
return false;
}
cancelSessionResult_.resultCode = ResultState::RESULT_OK;
cancelSessionResult_.response = OHOS::Telephony::ToUtf16(responseResult);
{

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Huawei Device Co., Ltd.
* Copyright (C) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Huawei Device Co., Ltd.
* Copyright (C) 2024 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at