diff --git a/services/appmgr/src/app_mgr_service_inner.cpp b/services/appmgr/src/app_mgr_service_inner.cpp index 1f9d410beb9e410ca5556d6c63b0ca49bcf064fc..cb8a25ea462ec12593944f26e1936a4543366682 100644 --- a/services/appmgr/src/app_mgr_service_inner.cpp +++ b/services/appmgr/src/app_mgr_service_inner.cpp @@ -8780,6 +8780,10 @@ int32_t AppMgrServiceInner::CheckCallingIsUserTestModeInner(const pid_t pid, boo } bool AppMgrServiceInner::IsSceneBoardCall() { + if (!AAFwk::PermissionVerification::GetInstance()->IsSystemAppCall()) { + TAG_LOGE(AAFwkTag::APPMGR, "not system app call"); + return false; + } if (remoteClientManager_ == nullptr) { TAG_LOGE(AAFwkTag::APPMGR, "remoteClientManager_ null"); return false;