From c9619e4a045ce82bcd928888b94768b5f0de5c08 Mon Sep 17 00:00:00 2001 From: rex <1491721419@qq.com> Date: Thu, 12 Jun 2025 14:51:55 +0800 Subject: [PATCH] change actions --- ArkUI/entry/src/main/ets/entryability/auto_rotation.json5 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ArkUI/entry/src/main/ets/entryability/auto_rotation.json5 b/ArkUI/entry/src/main/ets/entryability/auto_rotation.json5 index 1a6cb72..4bec61f 100644 --- a/ArkUI/entry/src/main/ets/entryability/auto_rotation.json5 +++ b/ArkUI/entry/src/main/ets/entryability/auto_rotation.json5 @@ -28,14 +28,16 @@ "startWindowBackground": "$color:start_window_background", "exported": true, "skills": [ + // [StartExclude auto_rotation] { "entities": [ "entity.system.home" ], "actions": [ - "action.system.home" + "ohos.want.action.home" ] } + // [EndExclude auto_rotation] ], "orientation": "auto_rotation", // Rotate with the sensor } -- Gitee