From 8087f7aabb34b00fc1956cb3a5d6d854c56cd69d Mon Sep 17 00:00:00 2001 From: hellohyh001 Date: Mon, 27 Dec 2021 14:58:39 +0800 Subject: [PATCH] fixed 4fa629f from https://gitee.com/hellohyh001/sensors_sensor/pulls/27 Signed-off-by:hellohyh001 Signed-off-by: hellohyh001 --- frameworks/native/sensor/src/sensor_service_client.cpp | 4 ++-- sa_profile/3601.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/native/sensor/src/sensor_service_client.cpp b/frameworks/native/sensor/src/sensor_service_client.cpp index 68293575..ff57ee06 100755 --- a/frameworks/native/sensor/src/sensor_service_client.cpp +++ b/frameworks/native/sensor/src/sensor_service_client.cpp @@ -202,7 +202,7 @@ void SensorServiceClient::ProcessDeathObserver(const wptr &object sensorList_.clear(); sensorServer_ = nullptr; - // STEP4 : ReGet hsensors 3601 service + // STEP4 : ReGet sensors 3601 service int32_t ret = InitServiceClient(); if (ret != ERR_OK) { HiLog::Error(LABEL, "%{public}s InitServiceClient failed, ret : %{public}d", __func__, ret); @@ -210,7 +210,7 @@ void SensorServiceClient::ProcessDeathObserver(const wptr &object return; } - // STEP5 : Retransfer new channel to hsensors + // STEP5 : Retransfer new channel to sensors sensorServer_->TransferDataChannel(dataChannel_, sensorClientStub_); // STEP6 : Restore Sensor status diff --git a/sa_profile/3601.xml b/sa_profile/3601.xml index 580af5ea..07ab1387 100755 --- a/sa_profile/3601.xml +++ b/sa_profile/3601.xml @@ -13,7 +13,7 @@ limitations under the License. --> - hsensors + sensors 3601 libsensor_service.z.so -- Gitee