diff --git a/ArkUI/entry/src/main/ets/entryability/auto_rotation.json5 b/ArkUI/entry/src/main/ets/entryability/auto_rotation.json5 index 1a6cb72f21ed3b9488962a64b8cbfbb373e3396e..4bec61f7c3a22c9777c2df1264065d412bd4859b 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 }