From 56d2cf3110e5d8cbcae0261019e3117f417c78da Mon Sep 17 00:00:00 2001 From: songbao1 Date: Wed, 26 Feb 2025 15:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: songbao1 --- frameworks/ans/src/notification_local_live_view_content.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ans/src/notification_local_live_view_content.cpp b/frameworks/ans/src/notification_local_live_view_content.cpp index a5c234dc1..2fb6d2ed1 100644 --- a/frameworks/ans/src/notification_local_live_view_content.cpp +++ b/frameworks/ans/src/notification_local_live_view_content.cpp @@ -369,7 +369,7 @@ bool NotificationLocalLiveViewContent::ReadFromParcel(Parcel &parcel) delete pButton; pButton = nullptr; - auto vsize = static_cast(parcel.ReadInt32()); + auto vsize = static_cast(parcel.ReadInt32()); vsize = (vsize < BUTTON_MAX_SIZE) ? vsize : BUTTON_MAX_SIZE; card_button_.clear(); for (uint32_t i = 0; i < vsize; ++i) { -- Gitee