1<!--
2  ~ Copyright (C) 2021 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License.
15  -->
16
17<safety-center-config>
18    <safety-sources-config>
19        <safety-sources-group
20            id="AndroidLockScreenSources"
21            title="@com.android.safetycenter.resources:string/lock_screen_sources_title"
22            summary="@com.android.safetycenter.resources:string/lock_screen_sources_summary">
23            <dynamic-safety-source
24                id="AndroidLockScreen"
25                packageName="com.android.settings"
26                profile="primary_profile_only"
27                title="@com.android.safetycenter.resources:string/lock_screen_title"
28                summary="@com.android.safetycenter.resources:string/lock_screen_summary_disabled"
29                searchTerms="@com.android.safetycenter.resources:string/lock_screen_search_terms"
30                initialDisplayState="disabled"
31                refreshOnPageOpenAllowed="true"/>
32            <dynamic-safety-source
33                id="AndroidBiometrics"
34                packageName="com.android.settings"
35                profile="primary_profile_only"
36                title="@com.android.safetycenter.resources:string/biometrics_title"
37                searchTerms="@com.android.safetycenter.resources:string/biometrics_search_terms"
38                initialDisplayState="hidden"
39                refreshOnPageOpenAllowed="true"/>
40        </safety-sources-group>
41        <safety-sources-group
42            id="AndroidPrivacySources"
43            title="@com.android.safetycenter.resources:string/privacy_sources_title"
44            summary="@com.android.safetycenter.resources:string/privacy_sources_summary"
45            statelessIconType="privacy">
46            <static-safety-source
47                id="AndroidPermissionUsage"
48                profile="primary_profile_only"
49                intentAction="android.intent.action.REVIEW_PERMISSION_USAGE"
50                title="@com.android.safetycenter.resources:string/permission_usage_title"
51                summary="@com.android.safetycenter.resources:string/permission_usage_summary"
52                searchTerms="@com.android.safetycenter.resources:string/permission_usage_search_terms"/>
53            <static-safety-source
54                id="AndroidPermissionManager"
55                profile="primary_profile_only"
56                intentAction="android.intent.action.MANAGE_PERMISSIONS"
57                title="@com.android.safetycenter.resources:string/permission_manager_title"
58                summary="@com.android.safetycenter.resources:string/permission_manager_summary"
59                searchTerms="@com.android.safetycenter.resources:string/permission_manager_search_terms"/>
60            <static-safety-source
61                id="AndroidPrivacyControls"
62                profile="primary_profile_only"
63                intentAction="android.settings.PRIVACY_CONTROLS"
64                title="@com.android.safetycenter.resources:string/privacy_controls_title"
65                summary="@com.android.safetycenter.resources:string/privacy_controls_summary"
66                searchTerms="@com.android.safetycenter.resources:string/privacy_controls_search_terms"/>
67            <issue-only-safety-source
68                id="AndroidAccessibility"
69                packageName="com.android.permissioncontroller"
70                profile="all_profiles"
71                refreshOnPageOpenAllowed="true"/>
72            <issue-only-safety-source
73                id="AndroidNotificationListener"
74                packageName="com.android.permissioncontroller"
75                profile="primary_profile_only"
76                refreshOnPageOpenAllowed="true"/>
77            <issue-only-safety-source
78                id="AndroidBackgroundLocation"
79                packageName="com.android.permissioncontroller"
80                profile="all_profiles"
81                refreshOnPageOpenAllowed="true"/>
82            <issue-only-safety-source
83                id="AndroidPermissionAutoRevoke"
84                packageName="com.android.permissioncontroller"
85                profile="all_profiles"
86                refreshOnPageOpenAllowed="true"/>
87        </safety-sources-group>
88        <safety-sources-group
89            id="AndroidAdvancedSources"
90            title="@com.android.safetycenter.resources:string/advanced_title">
91            <dynamic-safety-source
92                id="AndroidWorkPolicyInfo"
93                packageName="com.android.permissioncontroller"
94                profile="primary_profile_only"
95                initialDisplayState="hidden"
96                refreshOnPageOpenAllowed="true"/>
97            <static-safety-source
98                id="AndroidAdvancedSecurity"
99                profile="primary_profile_only"
100                intentAction="com.android.settings.security.SECURITY_ADVANCED_SETTINGS"
101                title="@com.android.safetycenter.resources:string/advanced_security_title"
102                summary="@com.android.safetycenter.resources:string/advanced_security_summary"
103                searchTerms="@com.android.safetycenter.resources:string/advanced_security_search_terms"/>
104            <static-safety-source
105                id="AndroidAdvancedPrivacy"
106                profile="primary_profile_only"
107                intentAction="android.settings.PRIVACY_ADVANCED_SETTINGS"
108                title="@com.android.safetycenter.resources:string/advanced_privacy_title"
109                summary="@com.android.safetycenter.resources:string/advanced_privacy_summary"
110                searchTerms="@com.android.safetycenter.resources:string/advanced_privacy_search_terms"/>
111        </safety-sources-group>
112    </safety-sources-config>
113</safety-center-config>
114