projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf14420
)
修复 因通讯录协议数据改动导致的备注不生效BUG(补)
author
hcj
<1224667075@qq.com>
Tue, 10 Sep 2024 08:25:19 +0000
(16:25 +0800)
committer
hcj
<1224667075@qq.com>
Tue, 10 Sep 2024 08:25:19 +0000
(16:25 +0800)
code/sdk/drivers/peripheral/slip/cat1Service/cat1_server_hal.cpp
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/slip/cat1Service/cat1_server_hal.cpp
b/code/sdk/drivers/peripheral/slip/cat1Service/cat1_server_hal.cpp
index
deac957
..
3658832
100644
(file)
--- a/
code/sdk/drivers/peripheral/slip/cat1Service/cat1_server_hal.cpp
+++ b/
code/sdk/drivers/peripheral/slip/cat1Service/cat1_server_hal.cpp
@@
-93,6
+93,8
@@
int calldial_event_sendmsg_toUI(char* callno)
{
/**通过UI事件发送Notify*/
call_number=std::string(callno);
+ call_number.erase(std::remove(call_number.begin(),call_number.end(),' '),call_number.end());
+
GraphicService::GetInstance()->PostGraphicEvent(std::bind(calldial_event_notify, (char *)call_number.c_str()));
return ERRCODE_SUCC;
}