• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:key="installed_app_detail_settings_screen">
22
23    <com.android.settingslib.widget.LayoutPreference
24        android:key="header_view"
25        android:layout="@layout/settings_entity_header"
26        android:selectable="false"
27        android:order="-10000" />
28
29    <com.android.settingslib.widget.LayoutPreference
30        android:key="instant_app_buttons"
31        android:layout="@layout/instant_app_buttons"
32        android:selectable="false"
33        android:order="-9999" />
34
35    <com.android.settingslib.widget.ActionButtonsPreference
36        android:key="action_buttons"
37        android:order="-9998" />
38
39    <Preference
40        android:key="app_settings_link"
41        android:title="@string/app_settings_link"
42        settings:controller="com.android.settings.applications.appinfo.AppSettingPreferenceController" />
43
44    <Preference
45        android:key="notification_settings"
46        android:title="@string/notifications_label"
47        settings:controller="com.android.settings.applications.appinfo.AppNotificationPreferenceController" />
48
49    <com.android.settings.widget.FixedLineSummaryPreference
50        android:key="permission_settings"
51        android:title="@string/permissions_label"
52        android:summary="@string/summary_placeholder"
53        settings:summaryLineCount="1"
54        settings:controller="com.android.settings.applications.appinfo.AppPermissionPreferenceController" />
55
56    <Preference
57        android:key="storage_settings"
58        android:title="@string/storage_settings_for_app"
59        android:summary="@string/summary_placeholder"
60        settings:controller="com.android.settings.applications.appinfo.AppStoragePreferenceController" />
61
62    <com.android.settings.applications.AppDomainsPreference
63        android:key="instant_app_launch_supported_domain_urls"
64        android:title="@string/app_launch_supported_domain_urls_title"
65        android:selectable="true"
66        settings:controller="com.android.settings.applications.appinfo.InstantAppDomainsPreferenceController" />
67
68    <Preference
69        android:key="data_settings"
70        android:title="@string/data_usage_app_summary_title"
71        android:summary="@string/summary_placeholder"
72        settings:controller="com.android.settings.applications.appinfo.AppDataUsagePreferenceController" />
73
74    <Preference
75        android:key="extra_app_info_settings"
76        android:title="@string/extra_app_info_label"
77        android:summary="@string/extra_app_info_summary"
78        settings:controller="com.android.settings.applications.appinfo.ExtraAppInfoPreferenceController" />
79
80    <Preference
81        android:key="time_spent_in_app"
82        android:title="@string/time_spent_in_app_pref_title"
83        android:summary="@string/summary_placeholder"
84        settings:controller="com.android.settings.applications.appinfo.TimeSpentInAppPreferenceController" />
85
86    <Preference
87        android:key="battery"
88        android:title="@string/power_usage_summary_title"
89        android:summary="@string/summary_placeholder" />
90
91    <Preference
92        android:key="preferred_settings"
93        android:title="@string/launch_by_default"
94        android:summary="@string/summary_placeholder"
95        android:selectable="true"
96        settings:controller="com.android.settings.applications.appinfo.AppOpenByDefaultPreferenceController" />
97
98    <Preference
99        android:key="memory"
100        android:title="@string/memory_settings_title"
101        android:summary="@string/summary_placeholder"
102        android:enabled="false" />
103
104    <!-- Default apps shortcuts -->
105    <Preference
106        android:key="default_home"
107        android:title="@string/home_app"
108        android:summary="@string/summary_placeholder" />
109
110    <Preference
111        android:key="default_browser"
112        android:title="@string/default_browser_title"
113        android:summary="@string/summary_placeholder" />
114
115    <Preference
116        android:key="default_phone_app"
117        android:title="@string/default_phone_title"
118        android:summary="@string/default_phone_title" />
119
120    <Preference
121        android:key="default_emergency_app"
122        android:title="@string/default_emergency_app"
123        android:summary="@string/summary_placeholder" />
124
125    <Preference
126        android:key="default_sms_app"
127        android:title="@string/sms_application_title"
128        android:summary="@string/summary_placeholder" />
129
130    <PreferenceCategory
131        android:key="app_hibernation_info"
132        android:title="@string/unused_apps"
133        settings:controller=
134            "com.android.settings.applications.appinfo.AppHibernationPreferenceCategoryController">
135
136        <SwitchPreference
137            android:key="hibernation_switch"
138            android:title="@string/unused_apps_switch"
139            settings:controller=
140                "com.android.settings.applications.appinfo.HibernationSwitchPreferenceController" />
141    </PreferenceCategory>
142
143    <!-- Advanced apps settings -->
144    <PreferenceCategory
145        android:key="advanced_app_info"
146        android:title="@string/advanced_apps"
147        settings:controller="com.android.settings.applications.appinfo.AdvancedAppInfoPreferenceCategoryController">
148
149        <Preference
150            android:key="system_alert_window"
151            android:title="@string/draw_overlay"
152            android:summary="@string/summary_placeholder"
153            settings:controller="com.android.settings.applications.appinfo.DrawOverlayDetailPreferenceController" />
154
155        <Preference
156            android:key="write_settings_apps"
157            android:title="@string/write_settings"
158            android:summary="@string/summary_placeholder"
159            settings:controller="com.android.settings.applications.appinfo.WriteSystemSettingsPreferenceController" />
160
161        <Preference
162            android:key="picture_in_picture"
163            android:title="@string/picture_in_picture_app_detail_title"
164            android:summary="@string/summary_placeholder"
165            settings:controller="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureDetailPreferenceController" />
166
167        <Preference
168            android:key="install_other_apps"
169            android:title="@string/install_other_apps"
170            android:summary="@string/summary_placeholder"
171            settings:controller="com.android.settings.applications.appinfo.ExternalSourceDetailPreferenceController" />
172
173        <Preference
174            android:key="interact_across_profiles"
175            android:title="@string/interact_across_profiles_title"
176            android:summary="@string/summary_placeholder"
177            settings:controller="com.android.settings.applications.specialaccess.interactacrossprofiles.InteractAcrossProfilesDetailsPreferenceController" />
178
179        <Preference
180            android:key="alarms_and_reminders"
181            android:title="@string/alarms_and_reminders_title"
182            android:summary="@string/summary_placeholder"
183            settings:controller="com.android.settings.applications.appinfo.AlarmsAndRemindersDetailPreferenceController" />
184
185    </PreferenceCategory>
186
187    <!-- App installer info -->
188    <PreferenceCategory
189        android:key="app_installer"
190        android:title="@string/app_install_details_group_title"
191        settings:controller="com.android.settings.applications.appinfo.AppInstallerPreferenceCategoryController">
192
193        <Preference
194            android:key="app_info_store"
195            android:title="@string/app_install_details_title"
196            settings:controller="com.android.settings.applications.appinfo.AppInstallerInfoPreferenceController" />
197
198    </PreferenceCategory>
199
200    <Preference
201        android:key="app_version"
202        android:selectable="false"
203        android:order="9999"
204        settings:controller="com.android.settings.applications.appinfo.AppVersionPreferenceController"
205        settings:allowDividerAbove="true"
206        settings:enableCopying="true"/>
207
208</PreferenceScreen>
209