1{ 2 "app": { 3 "bundleName": "com.acts.theme.wallpaperauthoritytest", 4 "vendor": "open", 5 "version": { 6 "code": 1000000, 7 "name": "1.0.0" 8 }, 9 "apiVersion": { 10 "compatible": 7, 11 "releaseType": "Release", 12 "target": 9 13 } 14 }, 15 "deviceConfig": {}, 16 "module": { 17 "package": "com.acts.theme.wallpaperauthoritytest", 18 "name": ".MyApplication", 19 "mainAbility": "com.acts.theme.wallpaperauthoritytest.MainAbility", 20 21 "deviceType": [ 22 "tablet", 23 "default", 24 "2in1" 25 ], 26 "distro": { 27 "deliveryWithInstall": true, 28 "moduleName": "entry", 29 "moduleType": "entry", 30 "installationFree": false 31 }, 32 "abilities": [ 33 { 34 "skills": [ 35 { 36 "entities": [ 37 "entity.system.home" 38 ], 39 "actions": [ 40 "action.system.home" 41 ] 42 } 43 ], 44 "orientation": "unspecified", 45 "visible": true, 46 "srcPath": "MainAbility", 47 "name": ".MainAbility", 48 "srcLanguage": "ets", 49 "icon": "$media:icon", 50 "description": "$string:description_mainability", 51 "formsEnabled": false, 52 "label": "$string:entry_MainAbility", 53 "type": "page", 54 "launchType": "standard" 55 }, 56 { 57 "orientation": "unspecified", 58 "visible": true, 59 "srcPath": "TestAbility", 60 "name": ".TestAbility", 61 "srcLanguage": "ets", 62 "icon": "$media:icon", 63 "description": "$string:TestAbility_desc", 64 "formsEnabled": false, 65 "label": "$string:TestAbility_label", 66 "type": "page", 67 "launchType": "standard" 68 } 69 ], 70 "reqPermissions": [ 71 { 72 "name": "ohos.permission.SET_WALLPAPER", 73 "reason": "need use ohos.permission.SET_WALLPAPER", 74 "usedScene": { 75 "ability": [ 76 "com.acts.theme.wallpapertest.MainAbility" 77 ], 78 "when": "inuse" 79 } 80 }, 81 { 82 "name": "ohos.permission.GET_WALLPAPER", 83 "reason": "need use ohos.permission.GET_WALLPAPER", 84 "usedScene": { 85 "ability": [ 86 "com.acts.theme.wallpapertest.MainAbility" 87 ], 88 "when": "inuse" 89 } 90 } 91 ], 92 "js": [ 93 { 94 "mode": { 95 "syntax": "ets", 96 "type": "pageAbility" 97 }, 98 "pages": [ 99 "pages/index" 100 ], 101 "name": ".MainAbility", 102 "window": { 103 "designWidth": 720, 104 "autoDesignWidth": false 105 } 106 }, 107 { 108 "mode": { 109 "syntax": "ets", 110 "type": "pageAbility" 111 }, 112 "pages": [ 113 "pages/index" 114 ], 115 "name": ".TestAbility", 116 "window": { 117 "designWidth": 720, 118 "autoDesignWidth": false 119 } 120 } 121 ] 122 } 123}