横屏改为 auto_rotation_landscape:横屏两朝向跟随传感器旋转,不进竖屏
- module.json5:landscape → auto_rotation_landscape(横屏正/反向 180° 跟随重力 感应自动旋转,但不进入竖屏),build 校验取值合法、安装启动通过 - 同步契约 §7 与框架 §7.4:'不跟随传感器' 修正为 '横屏两朝向内跟随旋转' - H5 显式方向控制(含竖屏)仍由 setPreferredOrientation 保留,零改动不变 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
dbc416a940
commit
82459c708c
@@ -14,7 +14,7 @@
|
||||
{
|
||||
"name": "EntryAbility",
|
||||
"srcEntry": "./ets/entryability/EntryAbility.ets",
|
||||
"orientation": "landscape",
|
||||
"orientation": "auto_rotation_landscape",
|
||||
"description": "$string:EntryAbility_desc",
|
||||
"icon": "$media:layered_image",
|
||||
"label": "$string:EntryAbility_label",
|
||||
|
||||
Reference in New Issue
Block a user