1/** 2 * 3 * Copyright (c) 2025 Huawei Device Co., Ltd. 4 * 5 * All rights reserved. 6 * Redistribution and use in source and binary forms, with or without modification, 7 * are permitted provided that the following conditions are met: 8 * 9 * Redistributions of source code must retain the above copyright notice,this 10 * list of conditions and the following disclaimer. 11 * 12 * Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 14 * and/or other materials provided with the distribution. 15 * 16 * THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, 17 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 21 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 22 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS, 23 * 24 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27{ 28 "module": { 29 "name": "entry", 30 "type": "entry", 31 "description": "$string:module_desc", 32 "mainElement": "EntryAbility", 33 "deviceTypes": [ 34 "phone", 35 "tablet", 36 "2in1" 37 ], 38 "deliveryWithInstall": true, 39 "installationFree": false, 40 "pages": "$profile:main_pages", 41 "abilities": [ 42 { 43 "name": "EntryAbility", 44 "srcEntry": "./ets/entryability/EntryAbility.ets", 45 "description": "$string:EntryAbility_desc", 46 "icon": "$media:layered_image", 47 "label": "$string:EntryAbility_label", 48 "startWindowIcon": "$media:startIcon", 49 "startWindowBackground": "$color:start_window_background", 50 "exported": true, 51 "skills": [ 52 { 53 "entities": [ 54 "entity.system.home" 55 ], 56 "actions": [ 57 "action.system.home" 58 ] 59 } 60 ] 61 } 62 ] 63 } 64}