From: xue <2144439972@qq.com> Date: Mon, 14 Jul 2025 08:09:14 +0000 (+0800) Subject: 删除多余打印 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=eeaa36ca0e74433322e44d2ae65aff3c81ad6819;p=mirrors%2FFD230.git 删除多余打印 --- 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; }