Skip to content

Commit e63c2a0

Browse files
committed
ci: use openharmony default device
1 parent 3b41dc7 commit e63c2a0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎ohos/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ test. OpenHarmony products use plain API levels in `build-profile.json5`; the
1010
default public SDK 5.0.0 maps to API level 12.
1111
`script/setup-harmonyos-runner.sh` normalizes the public SDK archive into the
1212
API-level directory layout expected by Hvigor 6.26.1.
13+
The runner module uses the OpenHarmony `default` device type because the public
14+
SDK device capability metadata does not include `phone` or `tablet`.
1315

1416
Build with a prepared local or runner environment:
1517

‎ohos/entry/src/main/module.json5‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "$string:module_desc",
66
"mainElement": "EntryAbility",
77
"deviceTypes": [
8-
"phone",
9-
"tablet"
8+
"default"
109
],
1110
"deliveryWithInstall": true,
1211
"installationFree": false,

0 commit comments

Comments
 (0)