From eeaa36ca0e74433322e44d2ae65aff3c81ad6819 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Mon, 14 Jul 2025 16:09:14 +0800 Subject: [PATCH] =?utf8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E6=89=93?= =?utf8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/phone/src/PhoneCallPresenter.cpp | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/phone/src/PhoneCallPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/phone/src/PhoneCallPresenter.cpp index fea1811fc..c34c8504d 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/phone/src/PhoneCallPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/phone/src/PhoneCallPresenter.cpp @@ -100,16 +100,12 @@ namespace OHOS // 点击7键,将字符'7'追加到号码字符串中 phoneNumber += "+"; } - printf("**************************\n"); - printf("per phoneNumber: %s\n", phoneNumber.c_str()); PhoneCallView::GetInstance()->ReLabel(); // view.Invalidate(); // RootView::GetInstance()->Invalidate(); - printf("now phoneNumber: %s\n", phoneNumber.c_str()); - printf("**************************\n"); return true; @@ -159,21 +155,17 @@ namespace OHOS { // 点击0键,将字符'0'追加到号码字符串中 phoneNumber += "0"; - printf("----0-----\n"); - //增加点击效果 - + } else if (strcmp(viewId, BUTTON1) == 0) { // 点击1键,将字符'1'追加到号码字符串中 phoneNumber += "1"; - printf("----1-----\n"); } else if (strcmp(viewId, BUTTON2) == 0) { // 点击2键,将字符'2'追加到号码字符串中 phoneNumber += "2"; - printf("----2-----\n"); } else if (strcmp(viewId, BUTTON3) == 0) { @@ -212,16 +204,11 @@ namespace OHOS } } - printf("**************************\n"); - printf("per phoneNumber: %s\n", phoneNumber.c_str()); PhoneCallView::GetInstance()->ReLabel(); // view.Invalidate(); // RootView::GetInstance()->Invalidate(); - - printf("now phoneNumber: %s\n", phoneNumber.c_str()); - printf("**************************\n"); return true; } -- 2.17.1