From 4145532ece4f71a957352d3e47a8627af918198a Mon Sep 17 00:00:00 2001 From: wangyipeng Date: Tue, 15 Feb 2022 22:05:54 +0800 Subject: [PATCH] Fix:HDI prefix modify Signed-off-by: wangyipeng --- .../hdi_connection/adpter/include/hdi_connection.h | 2 +- .../hdi_connection/adpter/src/hdi_connection.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/miscdevice_service/hdi_connection/adpter/include/hdi_connection.h b/services/miscdevice_service/hdi_connection/adpter/include/hdi_connection.h index 8bf6072..911c501 100644 --- a/services/miscdevice_service/hdi_connection/adpter/include/hdi_connection.h +++ b/services/miscdevice_service/hdi_connection/adpter/include/hdi_connection.h @@ -18,7 +18,7 @@ #include "death_recipient_template.h" #include "i_vibrator_hdi_connection.h" #include "vibrator_interface_proxy.h" -using vibrator::v1_0::IVibratorInterface; +using OHOS::HDI::Vibrator::V1_0::IVibratorInterface; namespace OHOS { namespace Sensors { class HdiConnection : public IVibratorHdiConnection { diff --git a/services/miscdevice_service/hdi_connection/adpter/src/hdi_connection.cpp b/services/miscdevice_service/hdi_connection/adpter/src/hdi_connection.cpp index 806032e..efd8dc0 100644 --- a/services/miscdevice_service/hdi_connection/adpter/src/hdi_connection.cpp +++ b/services/miscdevice_service/hdi_connection/adpter/src/hdi_connection.cpp @@ -70,7 +70,7 @@ int32_t HdiConnection::Start(const char *effectType) int32_t HdiConnection::Stop(VibratorStopMode mode) { - int32_t ret = vibratorInterface_->Stop(static_cast(mode)); + int32_t ret = vibratorInterface_->Stop(static_cast(mode)); if (ret < 0) { HiLog::Error(LABEL, "%{public}s failed", __func__); return ret; -- Gitee