1{ 2 "module": { 3 "name": "entry", 4 "type": "entry", 5 "description": "$string:module_desc", 6 "mainElement": "EntryAbility", 7 "deviceTypes": [ 8 "default", 9 "tablet", 10 "2in1", 11 "wearable", 12 "phone" 13 ], 14 "deliveryWithInstall": true, 15 "installationFree": false, 16 "pages": "$profile:main_pages", 17 "abilities": [ 18 { 19 "name": "DHardwareUIAbility", 20 "srcEntry": "./ets/mainability/DHardwareUIAbility.ets", 21 "description": "$string:EntryAbility_desc", 22 "icon": "$media:icon", 23 "label": "$string:EntryAbility_label", 24 "startWindowIcon": "$media:icon01", 25 "startWindowBackground": "$color:start_window_background", 26 "exported": false, 27 "removeMissionAfterTerminate": true, 28 "skills": [ 29 { 30 "entities": [ 31 "entity.system.home" 32 ], 33 "actions": [ 34 "action.system.home" 35 ] 36 } 37 ] 38 } 39 ], 40 "requestPermissions": [ 41 { 42 "name": "ohos.permission.ACCESS_DISTRIBUTED_HARDWARE" 43 }, 44 { 45 "name": "ohos.permission.MANAGE_SECURE_SETTINGS" 46 }, 47 { 48 "name": "ohos.permission.MANAGE_SETTINGS" 49 }, 50 { 51 "name": "ohos.permission.GET_BUNDLE_INFO" 52 }, 53 { 54 "name": "ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION" 55 } 56 ], 57 "extensionAbilities": [ 58 { 59 "name": "ContinueSwitchAbility", 60 "srcEntry": "./ets/continueswitchability/ContinueSwitchAbility.ets", 61 "description": "$string:ContinueSwitchAbility_desc", 62 "label": "$string:ContinueSwitchAbility_label", 63 "type": "sys/commonUI", 64 "exported": true 65 } 66 ], 67 "metadata": [ 68 { 69 "name": "action.settings.search.path", 70 "value": "searchConfig/searchPage.json" 71 }, 72 { 73 "name": "ohos.graphics2d.text.adapter_text_height" 74 } 75 ] 76 } 77}