From 8bd8c5c50604a1f15fdf91d9db0d744873695dfa Mon Sep 17 00:00:00 2001 From: jsy Date: Fri, 23 May 2025 15:44:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E5=8A=A0=E8=BD=BD=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: jsy --- interfaces/kits/native/want/include/want.h | 1 + interfaces/kits/native/want/src/want.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/interfaces/kits/native/want/include/want.h b/interfaces/kits/native/want/include/want.h index 7eb7927..260d2b1 100644 --- a/interfaces/kits/native/want/include/want.h +++ b/interfaces/kits/native/want/include/want.h @@ -882,6 +882,7 @@ public: static const std::string PARAM_RESV_CALLER_APP_CLONE_INDEX; static const std::string PARAM_RESV_FOR_RESULT; static const std::string PARAM_RESV_CALL_TO_FOREGROUND; + static const std::string PARAM_RESV_CALL_BEFORE_BACKGROUND; static const std::string PARAM_RESV_START_RECENT; static const std::string PARAM_RESV_REQUEST_PROC_CODE; static const std::string PARAM_RESV_REQUEST_TOKEN_CODE; diff --git a/interfaces/kits/native/want/src/want.cpp b/interfaces/kits/native/want/src/want.cpp index 634eab1..175fdb6 100644 --- a/interfaces/kits/native/want/src/want.cpp +++ b/interfaces/kits/native/want/src/want.cpp @@ -91,6 +91,7 @@ const std::string Want::PARAM_RESV_CALLER_PID("ohos.aafwk.param.callerPid"); const std::string Want::PARAM_RESV_CALLER_APP_CLONE_INDEX("ohos.param.callerAppCloneIndex"); const std::string Want::PARAM_RESV_FOR_RESULT("ohos.aafwk.param.startAbilityForResult"); const std::string Want::PARAM_RESV_CALL_TO_FOREGROUND("ohos.aafwk.param.callAbilityToForeground"); +const std::string Want::PARAM_RESV_CALL_BEFORE_BACKGROUND("ohos.aafwk.param.startAbilityByCallBeforeBackground"); const std::string Want::PARAM_RESV_START_RECENT("ohos.aafwk.param.startRecent"); const std::string Want::PARAM_RESV_START_TIME("ohos.aafwk.param.startTime"); const std::string Want::PARAM_RESV_REQUEST_PROC_CODE("ohos.aafwk.param.requestProcCode"); -- Gitee