194f5b7a1Sopenharmony_ci{ 294f5b7a1Sopenharmony_ci "module": { 394f5b7a1Sopenharmony_ci "name": "phone", 494f5b7a1Sopenharmony_ci "type": "entry", 594f5b7a1Sopenharmony_ci "srcEntrance": "./ets/Application/AbilityStage.ts", 694f5b7a1Sopenharmony_ci "description": "$string:mainability_description", 794f5b7a1Sopenharmony_ci "mainElement": "com.ohos.screenshot.ServiceExtAbility", 894f5b7a1Sopenharmony_ci "deviceTypes": [ 994f5b7a1Sopenharmony_ci "default", 1094f5b7a1Sopenharmony_ci "tablet" 1194f5b7a1Sopenharmony_ci ], 1294f5b7a1Sopenharmony_ci "deliveryWithInstall": true, 1394f5b7a1Sopenharmony_ci "installationFree": false, 1494f5b7a1Sopenharmony_ci "pages": "$profile:main_pages", 1594f5b7a1Sopenharmony_ci "uiSyntax": "ets", 1694f5b7a1Sopenharmony_ci "extensionAbilities": [ 1794f5b7a1Sopenharmony_ci { 1894f5b7a1Sopenharmony_ci "visible": true, 1994f5b7a1Sopenharmony_ci "skills": [ 2094f5b7a1Sopenharmony_ci { 2194f5b7a1Sopenharmony_ci "actions": [ 2294f5b7a1Sopenharmony_ci "com.ohos.systemui.action.TOGGLE" 2394f5b7a1Sopenharmony_ci ] 2494f5b7a1Sopenharmony_ci } 2594f5b7a1Sopenharmony_ci ], 2694f5b7a1Sopenharmony_ci "permissions": [ 2794f5b7a1Sopenharmony_ci "ohos.permission.CAPTURE_SCREEN" 2894f5b7a1Sopenharmony_ci ], 2994f5b7a1Sopenharmony_ci "srcEntrance": "./ets/ServiceExtAbility/ServiceExtAbility.ets", 3094f5b7a1Sopenharmony_ci "name": "com.ohos.screenshot.ServiceExtAbility", 3194f5b7a1Sopenharmony_ci "icon": "$media:icon", 3294f5b7a1Sopenharmony_ci "description": "$string:mainability_description", 3394f5b7a1Sopenharmony_ci "label": "$string:app_name", 3494f5b7a1Sopenharmony_ci "type": "service", 3594f5b7a1Sopenharmony_ci "metadata": [ 3694f5b7a1Sopenharmony_ci { 3794f5b7a1Sopenharmony_ci "name": "com.ohos.systemui.action.TOGGLE", 3894f5b7a1Sopenharmony_ci "value": "\"pluginType\":\"1\",\"clickAction\":\"ability=com.ohos.screenshot|com.ohos.screenshot.ServiceExtAbility\"", 3994f5b7a1Sopenharmony_ci "resource": "$profile:main_pages" 4094f5b7a1Sopenharmony_ci } 4194f5b7a1Sopenharmony_ci ] 4294f5b7a1Sopenharmony_ci }, 4394f5b7a1Sopenharmony_ci { 4494f5b7a1Sopenharmony_ci "name": "com.ohos.screenshot.DialogAbility", 4594f5b7a1Sopenharmony_ci "srcEntry": "./ets/PrivacyDialog/DialogAbility.ets", 4694f5b7a1Sopenharmony_ci "visible": true, 4794f5b7a1Sopenharmony_ci "type": "sys/commonUI" 4894f5b7a1Sopenharmony_ci } 4994f5b7a1Sopenharmony_ci ], 5094f5b7a1Sopenharmony_ci "requestPermissions": [ 5194f5b7a1Sopenharmony_ci { 5294f5b7a1Sopenharmony_ci "name": "ohos.permission.MEDIA_LOCATION", 5394f5b7a1Sopenharmony_ci "reason": "$string:media_location_reason" 5494f5b7a1Sopenharmony_ci }, 5594f5b7a1Sopenharmony_ci { 5694f5b7a1Sopenharmony_ci "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 5794f5b7a1Sopenharmony_ci }, 5894f5b7a1Sopenharmony_ci { 5994f5b7a1Sopenharmony_ci "name": "ohos.permission.CAPTURE_SCREEN" 6094f5b7a1Sopenharmony_ci }, 6194f5b7a1Sopenharmony_ci { 6294f5b7a1Sopenharmony_ci "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND" 6394f5b7a1Sopenharmony_ci }, 6494f5b7a1Sopenharmony_ci { 6594f5b7a1Sopenharmony_ci "name": "ohos.permission.WRITE_IMAGEVIDEO" 6694f5b7a1Sopenharmony_ci } 6794f5b7a1Sopenharmony_ci ] 6894f5b7a1Sopenharmony_ci } 6994f5b7a1Sopenharmony_ci} 70