From 2ecddab5bef07a6477a81f3f563217f403a8171b Mon Sep 17 00:00:00 2001 From: cff-gite Date: Tue, 26 Nov 2024 17:28:06 +0800 Subject: [PATCH] =?UTF-8?q?cherry=20pick=204288a35=20from=20https://gitee.?= =?UTF-8?q?com/li-yaoyao777/sensors=5Fmiscdevice/pulls/442=20=E9=80=82?= =?UTF-8?q?=E9=85=8Dx86=E6=A8=A1=E6=8B=9F=E5=99=A8=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: cff-gite Change-Id: I56b8e571de47a57a1bac82b89ccc18c506f5f94f --- frameworks/native/vibrator/src/vibrator_service_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/native/vibrator/src/vibrator_service_client.cpp b/frameworks/native/vibrator/src/vibrator_service_client.cpp index 8c0fe85..d336657 100644 --- a/frameworks/native/vibrator/src/vibrator_service_client.cpp +++ b/frameworks/native/vibrator/src/vibrator_service_client.cpp @@ -35,7 +35,7 @@ namespace Sensors { using namespace OHOS::HiviewDFX; namespace { -#ifdef __aarch64__ +#if (defined(__aarch64__) || defined(__x86_64__)) static const std::string DECODER_LIBRARY_PATH = "/system/lib64/platformsdk/libvibrator_decoder.z.so"; #else static const std::string DECODER_LIBRARY_PATH = "/system/lib/platformsdk/libvibrator_decoder.z.so"; -- Gitee