From eb6997f1b6ac48af63f21e606c155ccc4772d21c Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 5 Dec 2023 09:10:58 +0000 Subject: [PATCH 1/2] =?UTF-8?q?ContinuousTaskCallbackInfo=20=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=ADcreator=E5=8D=95=E8=AF=8D=E6=8B=BC=E5=86=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolas --- interfaces/innerkits/include/continuous_task_callback_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/innerkits/include/continuous_task_callback_info.h b/interfaces/innerkits/include/continuous_task_callback_info.h index 07e5f7a1..8b848c2e 100644 --- a/interfaces/innerkits/include/continuous_task_callback_info.h +++ b/interfaces/innerkits/include/continuous_task_callback_info.h @@ -40,14 +40,14 @@ public: uint32_t GetTypeId() const; /** - * @brief Get the uid of notification crector. + * @brief Get the uid of notification creator. * * @return The uid of the notification creator. */ int32_t GetCreatorUid() const; /** - * @brief Get the pid of notification crector. + * @brief Get the pid of notification creator. * * @return The pid of the notification creator. */ -- Gitee From 7b14ba650723c8fc934735fb9026b521ce1c51ed Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 5 Dec 2023 09:19:53 +0000 Subject: [PATCH 2/2] =?UTF-8?q?ContinuousTaskCallbackInfo=20=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=ADcreator=E5=8D=95=E8=AF=8D=E6=8B=BC=E5=86=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolas --- interfaces/innerkits/include/continuous_task_callback_info.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interfaces/innerkits/include/continuous_task_callback_info.h b/interfaces/innerkits/include/continuous_task_callback_info.h index 8b848c2e..fbfacc24 100644 --- a/interfaces/innerkits/include/continuous_task_callback_info.h +++ b/interfaces/innerkits/include/continuous_task_callback_info.h @@ -29,7 +29,8 @@ public: ContinuousTaskCallbackInfo(); ContinuousTaskCallbackInfo(uint32_t typeId, int32_t creatorUid, pid_t creatorPid, std::string abilityName, bool isFromWebview = false) - : typeId_(typeId), creatorUid_(creatorUid), creatorPid_(creatorPid), abilityName_(abilityName), + : typeId_(typeId), creatorUid_(creatorUid), creatorPid_(creatorPid), + abilityName_(abilityName), isFromWebview_(isFromWebview) {} /** @@ -74,6 +75,7 @@ public: * @return True if success, else false. */ bool Marshalling(Parcel &parcel) const override; + static ContinuousTaskCallbackInfo *Unmarshalling(Parcel &parcel); private: -- Gitee