blob: ac4ccb5668e29dbe813b5ad9b16b9b2ecdb6b681 [file] [log] [blame]
Fan Zhang51059c52017-03-24 13:43:11 -07001<?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"
Fan Zhang74c61d12017-11-17 16:49:54 -080020 xmlns:settings="http://schemas.android.com/apk/res-auto"
Edgar Wang0934bab2020-02-06 11:40:42 +080021 android:title="@string/reset_dashboard_title">
Fan Zhang51059c52017-03-24 13:43:11 -070022
23 <!-- Network reset -->
Fan Zhangcf966742017-04-28 10:58:41 -070024 <com.android.settingslib.RestrictedPreference
Fan Zhang51059c52017-03-24 13:43:11 -070025 android:key="network_reset_pref"
26 android:title="@string/reset_network_title"
Fan Zhangcf966742017-04-28 10:58:41 -070027 settings:userRestriction="no_network_reset"
28 settings:useAdminDisabledSummary="true"
Fan Zhang51059c52017-03-24 13:43:11 -070029 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 <!-- Factory reset -->
37 <com.android.settingslib.RestrictedPreference
38 android:key="factory_reset"
39 android:title="@string/master_clear_title"
Fan Zhang51059c52017-03-24 13:43:11 -070040 settings:keywords="@string/keywords_factory_data_reset"
41 settings:userRestriction="no_factory_reset"
42 settings:useAdminDisabledSummary="true"
43 android:fragment="com.android.settings.MasterClear" />
44</PreferenceScreen>