From dbc416a940a2ec51dc2bb9b165292b359edc8f2a Mon Sep 17 00:00:00 2001 From: lanterngamescn Date: Thu, 25 Jun 2026 08:34:34 +0800 Subject: [PATCH] =?UTF-8?q?entry:=20EntryAbility=20=E9=85=8D=20orientation?= =?UTF-8?q?:landscape=EF=BC=8C=E8=84=9A=E6=89=8B=E6=9E=B6=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=A8=AA=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 落地横屏项目约束(契约 §7 / 框架 §7.4):module.json5 配默认横屏、 不随传感器自动旋转;H5 显式方向控制留待 M3 用 setPreferredOrientation 动态实现。 模拟器验证:启动即横屏(2856x1320),SplashPage 布局正常。 Co-Authored-By: Claude Opus 4.8 (1M context) --- entry/src/main/module.json5 | 1 + 1 file changed, 1 insertion(+) diff --git a/entry/src/main/module.json5 b/entry/src/main/module.json5 index 53024e8..9ef6653 100644 --- a/entry/src/main/module.json5 +++ b/entry/src/main/module.json5 @@ -14,6 +14,7 @@ { "name": "EntryAbility", "srcEntry": "./ets/entryability/EntryAbility.ets", + "orientation": "landscape", "description": "$string:EntryAbility_desc", "icon": "$media:layered_image", "label": "$string:EntryAbility_label",