From 4ebe00e30dc5d01b6b0fc90239f67dc9234b33e8 Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 7 Nov 2024 18:32:45 +0800 Subject: [PATCH] =?utf8?q?=E8=AE=BE=E5=A4=87=E8=A7=A3=E7=BB=91=EF=BC=8C?= =?utf8?q?=E7=BB=91=E5=AE=9ANotify=E4=BC=98=E5=85=88=E7=BA=A7=E8=AE=BE?= =?utf8?q?=E7=BD=AE=E4=B8=BA1?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/msg_center/src/msg_center_customer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp index ca4263dbc..5364d14cb 100644 --- a/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp @@ -134,7 +134,7 @@ const PriorityMapper PRI_MAPPER[] = { {TOPIC_EVENT_LEAKLIGHT_UPDATA, PRIORITY_TWO}, #endif #ifdef SUPPORT_DEVICE_PAIRING_NOTIFICATION //如果支持设备配对通知 - {TOPIC_EVENT_DEVICE_BIND, PRIORITY_TWO}, + {TOPIC_EVENT_DEVICE_BIND, PRIORITY_ONE}, // {TOPIC_EVENT_DEVICE_UNBIND, PRIORITY_TWO}, // {TOPIC_EVENT_DEVICE_UNBINDING_REQUEST, PRIORITY_TWO}, #endif @@ -1253,7 +1253,7 @@ void MsgCenterNotifyDeviceBindProc(const Topic topic, Request* req) switch(data[0]) { case DEVICEBIND: - NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO); + NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_ONE); len_name = req->len-2; memset(devname,0,len_name); if(len_name > 0) @@ -1267,7 +1267,7 @@ void MsgCenterNotifyDeviceBindProc(const Topic topic, Request* req) break; case DEVICEUNBIND: - NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_TWO); + NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_ONE); len_name = req->len-2; memset(devname,0,len_name); if(len_name > 0) -- 2.17.1