Fan Zhang | 51059c5 | 2017-03-24 13:43:11 -0700 | [diff] [blame] | 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" |
Fan Zhang | 74c61d1 | 2017-11-17 16:49:54 -0800 | [diff] [blame] | 20 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Edgar Wang | 0934bab | 2020-02-06 11:40:42 +0800 | [diff] [blame] | 21 | android:title="@string/reset_dashboard_title"> |
Fan Zhang | 51059c5 | 2017-03-24 13:43:11 -0700 | [diff] [blame] | 22 | |
| 23 | <!-- Network reset --> |
Fan Zhang | cf96674 | 2017-04-28 10:58:41 -0700 | [diff] [blame] | 24 | <com.android.settingslib.RestrictedPreference |
Fan Zhang | 51059c5 | 2017-03-24 13:43:11 -0700 | [diff] [blame] | 25 | android:key="network_reset_pref" |
| 26 | android:title="@string/reset_network_title" |
Fan Zhang | cf96674 | 2017-04-28 10:58:41 -0700 | [diff] [blame] | 27 | settings:userRestriction="no_network_reset" |
| 28 | settings:useAdminDisabledSummary="true" |
Fan Zhang | 51059c5 | 2017-03-24 13:43:11 -0700 | [diff] [blame] | 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 | <!-- Factory reset --> |
| 37 | <com.android.settingslib.RestrictedPreference |
| 38 | android:key="factory_reset" |
| 39 | android:title="@string/master_clear_title" |
Fan Zhang | 51059c5 | 2017-03-24 13:43:11 -0700 | [diff] [blame] | 40 | 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> |