运动识别弹窗开始运动按钮添加注释 717/target/2 718/2 718/head
authorluozheng <1732036298@qq.com>
Mon, 19 Aug 2024 02:16:14 +0000 (10:16 +0800)
committerluozheng <1732036298@qq.com>
Mon, 19 Aug 2024 02:16:14 +0000 (10:16 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/motion_recognition_notification.cpp

index 65176b9..10b984f 100644 (file)
@@ -2,7 +2,7 @@
  * @Author: luozheng 1732036298@qq.com
  * @Date: 2024-08-17 16:44:20
  * @LastEditors: luozheng 1732036298@qq.com
- * @LastEditTime: 2024-08-19 10:08:12
+ * @LastEditTime: 2024-08-19 10:15:11
  * @FilePath: /FD230/code/sdk/application/wearable/service/msg_center/src/notify/motion_recognition_notification.cpp
  */
 #include "notification_manager.h"
@@ -64,10 +64,11 @@ namespace OHOS
         {
             NotificationManager::GetInstance()->StopNotify();
         }
-        else if (viewId == MOTION_RECOGNITION_START_BUTTONVIEWID)
+        else if (viewId == MOTION_RECOGNITION_START_BUTTONVIEWID) /*开始运动*/
         {
-
+            /*关闭弹窗*/
             NotificationManager::GetInstance()->StopNotify();
+            /*开始运动*/
         }
 
         return true;