添加宏控制
authorluozheng <1732036298@qq.com>
Tue, 20 May 2025 10:26:20 +0000 (18:26 +0800)
committerluozheng <1732036298@qq.com>
Tue, 20 May 2025 10:26:20 +0000 (18:26 +0800)
code/sdk/application/wearable/fd230/nativeapp/nativeui/phoneservice/src/PhoneAudio.cpp
code/sdk/application/wearable/fd230/nativeapp/nativeui/phoneservice/src/PhoneService.cpp

index 0827015..85a5ca9 100644 (file)
@@ -16,7 +16,9 @@
 #include "wearable_log.h"
 #include "audio_manager_c_wrapper.h"
 #include "CallerLogModel.h"
+#ifdef SUPPORT_CAT1_SERVICE
 #include "cat1_ctl.h"
+#endif
 #include "PhoneServiceC.h"
 
 
index 96d72b0..b19ce81 100644 (file)
 #include "service_id_define.h"
 #include "samgr_lite.h"
 #include "ui_service.h"
+#ifdef SUPPORT_CAT1_SERVICE
 #include "cat1_server_hal.h"
+#include "cat1_ctl.h"
+#endif
 #include "BluetoothModel.h"
 #include "notification_manager.h"
 #include "CallerLogModel.h"
 #include "vibrator_service.h"
 #include "gfx_utils/mem_api.h"
 #include "ConfigModelC.h"
-#include "cat1_ctl.h"
 #include "UiConfig.h"
 #include "PhoneAGService.h"
 #include "cmath"
 #ifdef __cplusplus
 extern "C" {
 #endif
+#ifdef SUPPORT_BLE_SERVICE
 #include "bleService.h"
+#endif
 #include "custom_save_runtime.h"
 #define CALL_LOG_PATH "/user/userdata/calllog.bin"
 #define CALL_TMP_LOG_PATH "/user/userdata/calltmplog.bin"