1 2<!-- 3 ~ Copyright (C) 2021 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:key="safety_and_emergency_screen" 22 android:title="@string/emergency_settings_preference_title"> 23 <com.android.settingslib.widget.LayoutPreference 24 android:key="more_emergency_settings" 25 android:layout="@layout/more_settings_button" 26 android:order="0" 27 android:selectable="false" 28 settings:controller="com.android.settings.emergency.MoreSettingsPreferenceController" /> 29 <Preference 30 android:key="gesture_emergency_summary" 31 android:title="@string/emergency_gesture_screen_title" 32 android:icon="@drawable/ic_emergency_gesture_24dp" 33 android:order="100" 34 android:fragment="com.android.settings.emergency.EmergencyGestureSettings" 35 settings:controller="com.android.settings.emergency.EmergencyGestureEntrypointPreferenceController" /> 36 <PreferenceCategory 37 android:order="170" 38 android:layout="@layout/preference_category_no_label" 39 settings:allowDividerAbove="true"/> 40 <com.android.settingslib.RestrictedPreference 41 android:key="app_and_notif_cell_broadcast_settings" 42 android:title="@string/cell_broadcast_settings" 43 android:order="200" 44 settings:useAdminDisabledSummary="true"> 45 <intent 46 android:action="android.intent.action.MAIN" 47 android:targetPackage="@string/config_cell_broadcast_receiver_package" 48 android:targetClass="com.android.cellbroadcastreceiver.CellBroadcastSettings"/> 49 </com.android.settingslib.RestrictedPreference> 50</PreferenceScreen> 51