From e5c7e4579683dca54c315fa8f8a2f9b2d53a054d Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Thu, 29 Aug 2024 14:57:57 +0800 Subject: [PATCH] =?utf8?q?=E8=A7=A3=E5=86=B3=E8=AE=BE=E7=BD=AE=E4=B8=AD?= =?utf8?q?=E7=82=B9=E5=87=BB=E5=85=B3=E6=9C=BA=E6=8C=89=E9=92=AE=E6=AD=BB?= =?utf8?q?=E6=9C=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/system/src/SystemPresenter.cpp | 2 +- .../wearable/fd230app/nativeui/system/src/SystemView.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemPresenter.cpp b/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemPresenter.cpp index f148d9822..5e5356b58 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemPresenter.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemPresenter.cpp @@ -209,7 +209,7 @@ namespace OHOS } else if (strcmp(view.GetViewId(), SHUTDOWN_CHECKON) == 0) // 关机确认 { - p_SystemView->ChangeView(RESTARTVIEW, SHUTDOWNANIMATIONVIEW); + p_SystemView->ChangeView(SHUTDOWNVIEW, SHUTDOWNANIMATIONVIEW); start_shutdown_or_reboot(); shutdown_reboot_prejobs(); diff --git a/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemView.cpp b/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemView.cpp index 75a0326cb..182c659a2 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/system/src/SystemView.cpp @@ -399,7 +399,7 @@ namespace OHOS { if (SystemScrollView[thisView] == nullptr) { - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemView::ChangeToSystemFactoryResetView"); + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemView::ChangeToSystemRestartView"); p_SystemRestart = new SystemRestart(); if (p_SystemRestart == nullptr) { @@ -417,7 +417,7 @@ namespace OHOS { if (SystemScrollView[thisView] == nullptr) { - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemView::ChangeToSystemFactoryResetView"); + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemView::ChangeToSystemShutdownView"); p_SystemShutdown = new SystemShutdown(); if (p_SystemShutdown == nullptr) { @@ -435,7 +435,7 @@ namespace OHOS { if (SystemScrollView[thisView] == nullptr) { - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemView::ChangeToSystemFactoryResetView"); + WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "SystemView::ChangeToSystemShutdownAnimatorView"); p_ShutDownImageAnimatorView = new ShutDownImageAnimatorView(); if (p_ShutDownImageAnimatorView == nullptr) { -- 2.17.1