BUG修复 716/2 716/head
authorhcj <1224667075@qq.com>
Mon, 19 Aug 2024 01:26:59 +0000 (09:26 +0800)
committerhcj <1224667075@qq.com>
Mon, 19 Aug 2024 01:26:59 +0000 (09:26 +0800)
code/sdk/application/wearable/fd230app/nativeui/makephone/src/MainCallingPresenter.cpp

index e3280e1..c0490bb 100644 (file)
@@ -132,10 +132,10 @@ bool MainCallingPresenter::InitPointerValue()
         return false;
     }
 
-    if (DialingScreenView::GetInstance() == nullptr) {
-        WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainCallingPresenter::[InitPointerValue] DialingScreenView error");
-        return false;
-    }
+    // if (DialingScreenView::GetInstance() == nullptr) {
+    //     WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainCallingPresenter::[InitPointerValue] DialingScreenView error");
+    //     return false;
+    // }
 
     if (CallingView::GetInstance() == nullptr) {
         WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainCallingPresenter::[InitPointerValue] CallingView error");
@@ -184,7 +184,7 @@ bool MainCallingPresenter::HintsHandupClick()
 bool MainCallingPresenter::OnClick(UIView& view, const ClickEvent& event)
 {
     UNUSED(event);
-
+     WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "%s",view.GetViewId());
     if (!InitPointerValue()) {
         WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "MainCallingPresenter::InitPointerValue error");
         return false;