解决切换特定语言关机后出现关机动画息屏问题
authorluozheng <1732036298@qq.com>
Mon, 30 Sep 2024 10:36:02 +0000 (18:36 +0800)
committerluozheng <1732036298@qq.com>
Mon, 30 Sep 2024 10:36:02 +0000 (18:36 +0800)
code/sdk/application/wearable/service/msg_center/src/notify/charge_notification.cpp

index 5e55fc8..17674ce 100644 (file)
@@ -570,6 +570,7 @@ namespace OHOS
         {
             group->SetVisible(true);
             ShutDownImageAnimatorView->Start();
+            ScreenAlwaysOnCtr(OPEN_SCREEN_ALWAYS_ON); // 关机动画已经开始了不能息屏
             start_shutdown_or_reboot();
             shutdown_reboot_prejobs();
         }