From c1a73b7e1e33174b4bbb775e8906282d8368c7e9 Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Wed, 27 Mar 2024 20:34:16 +0800 Subject: [PATCH] =?utf8?q?=E7=BC=A9=E7=9F=AD=E9=95=BF=E6=8C=89=E5=85=B3?= =?utf8?q?=E6=9C=BA=E5=BC=B9=E7=AA=97=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/fd230app/nativeui/rebootdevice/src/RebootModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootModel.cpp index f2c69ac93..d1d09ecc9 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/rebootdevice/src/RebootModel.cpp @@ -77,7 +77,7 @@ namespace OHOS bool RebootModel::RegisterLongPressEvents(void) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "RebootModel::RegisterLongPressEvents"); - int32_t ret = uapi_button_register_event_cb(OnKeyLongPress4s_Callback, BUTTON_PWR_LONGPRESS_4S); + int32_t ret = uapi_button_register_event_cb(OnKeyLongPress4s_Callback, BUTTON_PWR_LONGPRESS_3S); if (ret != ERRCODE_SUCC) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "Register LongPress Events err,ret = %d", ret); -- 2.17.1