修复主界面不刷新 465/1 465/head 466/target/1
authorCaisking <3449750381@qq.com>
Fri, 5 Jul 2024 08:46:39 +0000 (16:46 +0800)
committerCaisking <3449750381@qq.com>
Fri, 5 Jul 2024 08:46:39 +0000 (16:46 +0800)
code/sdk/application/wearable/nativeabilityfwk/src/Ability.cpp
code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp

index 7daacf0..8d5467b 100755 (executable)
@@ -118,9 +118,11 @@ ListsNode<Ability::ProxyStruct>* Ability::Find(const uint16_t sliceId)
  */
 void Ability::ChangeSlice(const uint16_t targetSliceId, TransitionType type, const uint16_t priority)
 {
-    if (GetCurSliceId() == targetSliceId) {
+    /*
+        if (GetCurSliceId() == targetSliceId) {
         return;
-    }
+        }
+    */
     if (osal_atomic_read(&transitionCount_) <= 0) {
         osal_atomic_inc(&transitionCount_);
     // onStop释放当前页面需要和当前页面的事件监听异步执行,否则会出现自己杀掉自己的情况
index 809b41f..f3f9edd 100644 (file)
@@ -954,7 +954,7 @@ void MsgCenterNotifyDrinkReminderProc(const Topic topic, Request *req)
         break;
     }
 }
-
+//每日训练
 void MsgCenterNotifyActivityProc(const Topic topic, Request* req)
 {
     unused(topic);