From: hcj_ <1224667075@qq.com> Date: Thu, 30 May 2024 06:03:19 +0000 (+0800) Subject: 修改notif编译问题 X-Git-Tag: release_V1.2.70_20241020_135402~1064^2~5 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F196%2F1;p=mirrors%2FFD230.git 修改notif编译问题 --- diff --git a/code/sdk/application/wearable/service/msg_center/include/notify/makephone_notification.h b/code/sdk/application/wearable/service/msg_center/include/notify/makephone_notification.h index 5339ce3b9..89c807ed6 100755 --- a/code/sdk/application/wearable/service/msg_center/include/notify/makephone_notification.h +++ b/code/sdk/application/wearable/service/msg_center/include/notify/makephone_notification.h @@ -21,10 +21,14 @@ UIViewGroup* CreatePhoneCallView(void); UIViewGroup* CreateCallingView(void); UIViewGroup* CreateMultiplePhoneView(void); UIViewGroup* CreateWaitingHintsView(void); +UIViewGroup* CreateCalldialView(void); + void HonrsViewChange(void); VolumeSettingView *GetvolumeSetting(void); void FreeCallingView(void); void FreePhoneCallView(void); +void FreeCalldialView(void); + void FreeMultiplePhoneCallView(void); void FreeWaitingHintsView(void); void RefreshMicrophoneImageSrc(const char* src); 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 162bd2633..25288a24d 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 @@ -189,7 +189,7 @@ static OHOS::UIViewGroup* ShowMultiPhoneCallNotify(void) return OHOS::CreateMultiplePhoneView(); } -extern UIViewGroup* CreateCalldialView(void); +//extern UIViewGroup* CreateCalldialView(void); static OHOS::UIViewGroup* CalldialNotify(void) { return OHOS::CreateCalldialView(); diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/notification_manager_customer.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/notification_manager_customer.cpp index d3485a633..7878009e2 100755 --- a/code/sdk/application/wearable/service/msg_center/src/notify/notification_manager_customer.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/notification_manager_customer.cpp @@ -35,7 +35,7 @@ void NotificationManager::FreeNotifyViews() FreeMultiplePhoneCallView(); FreeWaitingHintsView(); #ifdef FD230 - //FreeCalldialView(); + FreeCalldialView(); #endif FreeFindWatchView(); FreelowPower();