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                notificationsAllowed="true"/>
32            <dynamic-safety-source
33                id="AndroidBiometrics"
34                packageName="com.android.settings"
35                profile="all_profiles"
36                title="@com.android.safetycenter.resources:string/biometrics_title"
37                titleForWork="@com.android.safetycenter.resources:string/biometrics_title_for_work"
38                titleForPrivateProfile="@com.android.safetycenter.resources:string/biometrics_title_for_private_profile"
39                searchTerms="@com.android.safetycenter.resources:string/biometrics_search_terms"
40                initialDisplayState="hidden"/>
41        </safety-sources-group>
42        <safety-sources-group
43            id="AndroidCellularNetworkSecuritySources"
44            title="@com.android.safetycenter.resources:string/cellular_network_security_title"
45            summary="@com.android.safetycenter.resources:string/cellular_network_security_summary">
46            <dynamic-safety-source
47                id="AndroidCellularNetworkSecurity"
48                packageName="com.android.phone"
49                profile="primary_profile_only"
50                notificationsAllowed="true"
51                initialDisplayState="hidden"/>
52        </safety-sources-group>
53        <safety-sources-group
54            id="AndroidPrivacySources"
55            title="@com.android.safetycenter.resources:string/privacy_sources_title"
56            summary="@com.android.safetycenter.resources:string/privacy_sources_summary"
57            statelessIconType="privacy">
58            <static-safety-source
59                id="AndroidPermissionManager"
60                profile="primary_profile_only"
61                intentAction="android.intent.action.MANAGE_PERMISSIONS"
62                title="@com.android.safetycenter.resources:string/permission_manager_title"
63                summary="@com.android.safetycenter.resources:string/permission_manager_summary"
64                searchTerms="@com.android.safetycenter.resources:string/permission_manager_search_terms"/>
65            <dynamic-safety-source
66                id="AndroidHealthConnect"
67                profile="primary_profile_only"
68                packageName="com.android.healthconnect.controller"
69                initialDisplayState="hidden"
70                refreshOnPageOpenAllowed="false"
71                title="@com.android.safetycenter.resources:string/health_connect_title"
72                searchTerms="@com.android.safetycenter.resources:string/health_connect_search_terms"/>
73            <dynamic-safety-source
74                id="AndroidPrivacyAppDataSharingUpdates"
75                packageName="com.android.permissioncontroller"
76                profile="primary_profile_only"
77                initialDisplayState="hidden"
78                refreshOnPageOpenAllowed="true"
79                title="@com.android.safetycenter.resources:string/app_data_sharing_updates_title"
80                searchTerms="@com.android.safetycenter.resources:string/app_data_sharing_updates_search_terms"/>
81            <static-safety-source
82                id="AndroidPrivacyControls"
83                profile="primary_profile_only"
84                intentAction="android.settings.PRIVACY_CONTROLS"
85                title="@com.android.safetycenter.resources:string/privacy_controls_title"
86                summary="@com.android.safetycenter.resources:string/privacy_controls_summary"
87                searchTerms="@com.android.safetycenter.resources:string/privacy_controls_search_terms"/>
88            <issue-only-safety-source
89                id="AndroidAccessibility"
90                packageName="com.android.permissioncontroller"
91                profile="all_profiles"
92                notificationsAllowed="true"
93                refreshOnPageOpenAllowed="true"/>
94            <issue-only-safety-source
95                id="AndroidNotificationListener"
96                packageName="com.android.permissioncontroller"
97                profile="primary_profile_only"
98                notificationsAllowed="true"
99                refreshOnPageOpenAllowed="true"/>
100            <issue-only-safety-source
101                id="AndroidBackgroundLocation"
102                packageName="com.android.permissioncontroller"
103                profile="all_profiles"
104                notificationsAllowed="true"
105                refreshOnPageOpenAllowed="true"/>
106            <issue-only-safety-source
107                id="AndroidPermissionAutoRevoke"
108                packageName="com.android.permissioncontroller"
109                profile="all_profiles"
110                notificationsAllowed="true"
111                refreshOnPageOpenAllowed="true"/>
112        </safety-sources-group>
113        <safety-sources-group
114            id="AndroidPrivacySourcesAdditional"
115            title="@com.android.safetycenter.resources:string/privacy_additional_title">
116            <static-safety-source
117                id="AndroidPermissionUsage"
118                profile="primary_profile_only"
119                intentAction="android.intent.action.REVIEW_PERMISSION_USAGE"
120                title="@com.android.safetycenter.resources:string/permission_usage_title"
121                summary="@com.android.safetycenter.resources:string/permission_usage_summary"
122                searchTerms="@com.android.safetycenter.resources:string/permission_usage_search_terms"/>
123            <dynamic-safety-source
124                id="AndroidPrivateSpace"
125                packageName="com.android.settings"
126                profile="primary_profile_only"
127                title="@com.android.safetycenter.resources:string/private_space_title"
128                summary="@com.android.safetycenter.resources:string/private_space_summary"
129                searchTerms="@com.android.safetycenter.resources:string/private_space_search_terms"
130                initialDisplayState="hidden"
131                maxSeverityLevel="0"/>
132        </safety-sources-group>
133        <safety-sources-group
134            id="AndroidAdvancedSources"
135            title="@com.android.safetycenter.resources:string/advanced_title">
136            <dynamic-safety-source
137                id="AndroidWorkPolicyInfo"
138                packageName="com.android.permissioncontroller"
139                profile="primary_profile_only"
140                title="@com.android.safetycenter.resources:string/work_policy_title"
141                initialDisplayState="hidden"
142                refreshOnPageOpenAllowed="true"/>
143            <static-safety-source
144                id="AndroidMoreSettings"
145                profile="primary_profile_only"
146                intentAction="com.android.settings.MORE_SECURITY_PRIVACY_SETTINGS"
147                title="@com.android.safetycenter.resources:string/more_settings_title"
148                summary="@com.android.safetycenter.resources:string/more_settings_summary"
149                searchTerms="@com.android.safetycenter.resources:string/more_settings_search_terms"/>
150        </safety-sources-group>
151    </safety-sources-config>
152</safety-center-config>
153