diff --git a/interfaces/kits/native/want/include/want.h b/interfaces/kits/native/want/include/want.h index 7eb792743510974097f2606f160e5dd81857b518..260d2b10d4342d6a5551f91691757de9d4589f2a 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 634eab1dc5f29a9d33753ed4b9dc5b2021308a4c..175fdb6f8f12e94f6025cfabc283d04c8ea8d733 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");