1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2020 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="apps_screen"
22    android:title="@string/apps_dashboard_title">
23
24    <Preference
25        android:key="all_app_infos"
26        android:title="@string/all_apps"
27        android:summary="@string/summary_placeholder"
28        android:order="-999"
29        android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
30        settings:keywords="@string/keywords_applications_settings"/>
31
32    <PreferenceCategory
33        android:key="recent_apps_category"
34        android:title="@string/recent_app_category_title"
35        android:order="-998"
36        settings:searchable="false">
37        <!-- Placeholder for a list of recent apps -->
38
39        <!-- See all apps -->
40        <Preference
41            android:key="see_all_apps"
42            android:title="@string/default_see_all_apps_title"
43            android:icon="@drawable/ic_chevron_right_24dp"
44            android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
45            android:order="5"
46            settings:searchable="false">
47        </Preference>
48    </PreferenceCategory>
49
50    <PreferenceCategory
51        android:key="general_category"
52        android:title="@string/category_name_general"
53        android:order="-997"
54        android:visibility="gone"
55        settings:searchable="false"/>
56
57    <Preference
58        android:key="default_apps"
59        android:title="@string/app_default_dashboard_title"
60        android:order="-996"
61        settings:controller="com.android.settings.applications.DefaultAppsPreferenceController"/>
62
63    <Preference
64        android:key="cloned_apps"
65        android:title="@string/cloned_apps_dashboard_title"
66        android:summary="@string/summary_placeholder"
67        android:order="-995"
68        settings:controller="com.android.settings.applications.ClonedAppsPreferenceController"
69        android:fragment="com.android.settings.applications.manageapplications.ManageApplications">
70        <extra
71            android:name="classname"
72            android:value="com.android.settings.Settings$ClonedAppsListActivity"/>
73        <intent
74            android:action="android.settings.MANAGE_CLONED_APPS_SETTINGS"
75            android:targetPackage="${applicationId}"/>
76    </Preference>
77
78    <PreferenceCategory
79        android:key="dashboard_tile_placeholder"
80        android:order="10"/>
81
82    <Preference
83        android:key="hibernated_apps"
84        android:title="@string/unused_apps"
85        android:summary="@string/summary_placeholder"
86        android:order="15"
87        settings:keywords="app_hibernation_key"
88        settings:controller="com.android.settings.applications.HibernatedAppsPreferenceController"/>
89
90    <Preference
91        android:key="app_battery_usage"
92        android:order="17"
93        android:title="@string/app_battery_usage_title"
94        android:summary="@string/app_battery_usage_summary"
95        settings:controller="com.android.settings.applications.AppBatteryUsagePreferenceController"
96        android:fragment="com.android.settings.applications.manageapplications.ManageApplications">
97        <extra
98            android:name="classname"
99            android:value="com.android.settings.Settings$AppBatteryUsageActivity"/>
100    </Preference>
101
102    <Preference
103        android:key="special_access"
104        android:fragment="com.android.settings.applications.specialaccess.SpecialAccessSettings"
105        android:title="@string/special_access"
106        android:order="20"/>
107
108    <PreferenceCategory
109        android:key="advanced_category"
110        android:title="@string/advanced_apps"
111        android:order="21"
112        settings:searchable="false">
113
114        <Preference
115            android:key="aspect_ratio_apps"
116            android:title="@string/aspect_ratio_experimental_title"
117            android:summary="@string/summary_placeholder"
118            android:order="22"
119            settings:controller="com.android.settings.applications.appcompat.UserAspectRatioAppsPreferenceController"
120            android:fragment="com.android.settings.applications.manageapplications.ManageApplications">
121            <extra android:name="classname"
122                   android:value="com.android.settings.Settings$UserAspectRatioAppListActivity"/>
123            <intent android:action="android.settings.MANAGE_USER_ASPECT_RATIO_SETTINGS"/>
124        </Preference>
125    </PreferenceCategory>
126
127</PreferenceScreen>
128