From: luozheng <1732036298@qq.com> Date: Mon, 30 Sep 2024 10:36:02 +0000 (+0800) Subject: 解决切换特定语言关机后出现关机动画息屏问题 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=aba1bf4704e2f3ce26974743e0dfc2ce51d17ec1;p=mirrors%2FFD230.git 解决切换特定语言关机后出现关机动画息屏问题 --- diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/charge_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/charge_notification.cpp index 5e55fc8c6..17674ce93 100644 --- a/code/sdk/application/wearable/service/msg_center/src/notify/charge_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/charge_notification.cpp @@ -570,6 +570,7 @@ namespace OHOS { group->SetVisible(true); ShutDownImageAnimatorView->Start(); + ScreenAlwaysOnCtr(OPEN_SCREEN_ALWAYS_ON); // 关机动画已经开始了不能息屏 start_shutdown_or_reboot(); shutdown_reboot_prejobs(); }