From 584616389e21601ee6190b7c74376f0820e7bebf Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Tue, 29 Oct 2024 20:30:31 +0800 Subject: [PATCH] =?utf8?q?1.=E5=85=B3=E6=9C=BA=E5=8A=A8=E7=94=BB=E5=BC=80?= =?utf8?q?=E5=A7=8B=E5=90=8E=E5=85=B3=E9=97=AD=E7=BF=BB=E8=85=95=E6=81=AF?= =?utf8?q?=E5=B1=8F=EF=BC=8C=E9=98=B2=E6=AD=A2=E6=81=AF=E5=B1=8F=E5=90=8E?= =?utf8?q?=E5=85=B3=E6=9C=BA=E5=8A=A8=E7=94=BB=E4=B8=8D=E6=89=A7=E8=A1=8C?= =?utf8?q?=202.=E5=85=B3=E6=9C=BA=E5=8A=A8=E7=94=BB=E5=90=AF=E5=8A=A8?= =?utf8?q?=E7=A6=81=E6=AD=A2=E4=B8=80=E5=88=87=E5=BC=B9=E7=AA=97=EF=BC=8C?= =?utf8?q?=E9=80=9A=E8=BF=87=E8=AE=BE=E7=BD=AESlice=E4=BC=98=E5=85=88?= =?utf8?q?=E7=BA=A7=E4=B8=BA=E6=9C=80=E9=AB=98=E7=BA=A7=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../rebootandshutdown/src/ShutDownImageAnimatorView.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/sdk/application/wearable/fd230app/nativeui/rebootandshutdown/src/ShutDownImageAnimatorView.cpp b/code/sdk/application/wearable/fd230app/nativeui/rebootandshutdown/src/ShutDownImageAnimatorView.cpp index 8116e9a6d..18ff17990 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/rebootandshutdown/src/ShutDownImageAnimatorView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/rebootandshutdown/src/ShutDownImageAnimatorView.cpp @@ -11,6 +11,8 @@ #include "uicomponents/UIComponents.h" #include "vibrator_service.h" #include "bleEvent.h" +#include "AppViewIDs.h" +#include "NativeAbility.h" namespace OHOS { @@ -84,6 +86,10 @@ namespace OHOS shutDownImageAnimatorView->Start(); isShutDownImageAnimatorStart = true; ScreenAlwaysOnCtr(OPEN_SCREEN_ALWAYS_ON); // 关机动画已经开始了不能息屏 + + uapi_take_to_wake(0);//关闭抬腕亮屏,和息屏 + + NativeAbility::GetInstance().SetCurSlicePriority(0); //设置Slice优先级为最高,防止弹窗出现 // 关机增加震动 ui_api_vibrate_once_func(); -- 2.17.1