OSDN Git Service

02328af96feaccc0d4209b664b174feeba93b6b1
[android-x86/packages-apps-Settings.git] / res / xml / reset_dashboard_fragment.xml
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/com.android.settings"
21     android:title="@string/reset_dashboard_title">
22
23     <!-- Network reset -->
24     <Preference
25         android:key="network_reset_pref"
26         android:title="@string/reset_network_title"
27         android:fragment="com.android.settings.ResetNetwork" />
28
29     <!-- Reset app preferences -->
30     <Preference
31         android:key="reset_app_prefs"
32         android:title="@string/reset_app_preferences" />
33
34     <!-- Factory reset -->
35     <com.android.settingslib.RestrictedPreference
36         android:key="factory_reset"
37         android:title="@string/master_clear_title"
38         android:summary="@string/master_clear_summary"
39         settings:keywords="@string/keywords_factory_data_reset"
40         settings:userRestriction="no_factory_reset"
41         settings:useAdminDisabledSummary="true"
42         android:fragment="com.android.settings.MasterClear" />
43 </PreferenceScreen>