• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright (C) 2016 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_and_notification_screen"
22    android:title="@string/app_and_notification_dashboard_title"
23    settings:initialExpandedChildrenCount="8">
24    <!-- the initial count should include the dynamic tiles -->
25
26    <PreferenceCategory
27        android:key="recent_apps_category"
28        android:title="@string/recent_app_category_title"
29        android:order="-200">
30        <!-- Placeholder for a list of recent apps -->
31
32        <!-- See all apps button -->
33        <Preference
34            android:title="@string/applications_settings"
35            android:key="all_app_info"
36            android:fragment="com.android.settings.applications.manageapplications.ManageApplications"
37            android:order="20" />
38    </PreferenceCategory>
39
40    <!-- Empty category to draw divider -->
41    <PreferenceCategory
42        android:key="all_app_info_divider"
43        android:order="-190" />
44
45    <!-- Notifications (appears before manage_perms), default apps (appears after) -->
46    <PreferenceCategory
47        android:key="dashboard_tile_placeholder"
48        android:order="10" />
49
50    <Preference
51        android:key="manage_perms"
52        android:title="@string/app_permissions"
53        android:order="12"
54        settings:keywords="@string/keywords_app_permissions"
55        settings:controller="com.android.settings.applications.AppPermissionsPreferenceController">
56        <intent android:action="android.intent.action.MANAGE_PERMISSIONS" />
57    </Preference>
58
59    <com.android.settingslib.RestrictedPreference
60        android:key="app_and_notif_cell_broadcast_settings"
61        android:title="@string/cell_broadcast_settings"
62        android:order="15"
63        settings:useAdminDisabledSummary="true">
64        <intent
65            android:action="android.intent.action.MAIN"
66            android:targetPackage="com.android.cellbroadcastreceiver"
67            android:targetClass="com.android.cellbroadcastreceiver.CellBroadcastSettings" />
68    </com.android.settingslib.RestrictedPreference>
69
70    <Preference
71        android:key="special_access"
72        android:fragment="com.android.settings.applications.SpecialAccessSettings"
73        android:title="@string/special_access"
74        android:order="20" />
75
76</PreferenceScreen>
77