1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2017 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:title="@string/reset_dashboard_title"> 22 23 <!-- Network reset --> 24 <com.android.settingslib.RestrictedPreference 25 android:key="network_reset_pref" 26 android:title="@string/reset_network_title" 27 settings:userRestriction="no_network_reset" 28 settings:useAdminDisabledSummary="true" 29 android:fragment="com.android.settings.ResetNetwork" /> 30 31 <!-- Reset app preferences --> 32 <Preference 33 android:key="reset_app_prefs" 34 android:title="@string/reset_app_preferences" /> 35 36 <!-- Erase Euicc data --> 37 <Preference 38 android:key="erase_euicc_data" 39 android:title="@string/reset_esim_title" 40 settings:controller="com.android.settings.network.EraseEuiccDataController" /> 41 42 <!-- Factory reset --> 43 <com.android.settingslib.RestrictedPreference 44 android:key="factory_reset" 45 android:title="@string/main_clear_title" 46 settings:keywords="@string/keywords_factory_data_reset" 47 settings:userRestriction="no_factory_reset" 48 settings:useAdminDisabledSummary="true" 49 android:fragment="com.android.settings.MainClear" /> 50</PreferenceScreen> 51