From d442af80d9b62d0216e327dc2c81c2dfe77602a0 Mon Sep 17 00:00:00 2001 From: FileStream Date: Fri, 20 Sep 2024 12:29:13 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=9D=83=E9=99=90=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=A0=81=E9=94=99=E6=8A=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: FileStream --- services/services/recorder/ipc/recorder_service_stub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/services/recorder/ipc/recorder_service_stub.cpp b/services/services/recorder/ipc/recorder_service_stub.cpp index aeba3585e..aecd820b1 100644 --- a/services/services/recorder/ipc/recorder_service_stub.cpp +++ b/services/services/recorder/ipc/recorder_service_stub.cpp @@ -202,7 +202,7 @@ int RecorderServiceStub::OnRemoteRequest(uint32_t code, MessageParcel &data, Mes permissionResult = Security::AccessToken::PERMISSION_GRANTED; } CHECK_AND_RETURN_RET_LOG(permissionResult == Security::AccessToken::PERMISSION_GRANTED, - MSERR_EXT_API9_PERMISSION_DENIED, "user do not have the correct permission"); + MSERR_EXT_API9_NO_PERMISSION, "user do not have the correct permission"); auto itFunc = recFuncs_.find(code); if (itFunc != recFuncs_.end()) { -- Gitee