系统:修复vote的显示 1377/1
authorCaisking <3449750381@qq.com>
Sat, 9 Nov 2024 03:33:55 +0000 (11:33 +0800)
committerCaisking <3449750381@qq.com>
Sat, 9 Nov 2024 03:33:55 +0000 (11:33 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/debug_output_notification/debug_output_notification.cpp

index 4af0518..a02b1c0 100644 (file)
@@ -607,7 +607,7 @@ namespace OHOS
     std::string DebugOutputViewEventListener::get_current_vote_status() {
       // 获取系统日志实例
       char buf[256];
-      get_vote_status(buf);
+      get_vote_status(buf,sizeof(buf));
       return std::string(buf);
     }