Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [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 | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 20 | xmlns:settings="http://schemas.android.com/apk/res-auto" |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 21 | android:key="installed_app_detail_settings_screen" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 22 | settings:initialExpandedChildrenCount="6"> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 23 | |
tmfang | dce94bb | 2018-11-26 18:41:01 +0800 | [diff] [blame] | 24 | <com.android.settingslib.widget.LayoutPreference |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 25 | android:key="header_view" |
| 26 | android:layout="@layout/settings_entity_header" |
| 27 | android:selectable="false" |
tmfang | 3adb74e | 2018-11-09 20:21:14 +0800 | [diff] [blame] | 28 | android:order="-10000" |
| 29 | settings:allowDividerBelow="true"/> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 30 | |
tmfang | dce94bb | 2018-11-26 18:41:01 +0800 | [diff] [blame] | 31 | <com.android.settingslib.widget.LayoutPreference |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 32 | android:key="instant_app_buttons" |
| 33 | android:layout="@layout/instant_app_buttons" |
| 34 | android:selectable="false" |
tmfang | 86fcd90 | 2018-11-19 15:00:24 +0800 | [diff] [blame] | 35 | android:order="-9999" |
| 36 | settings:allowDividerAbove="true" |
| 37 | settings:allowDividerBelow="true"/> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 38 | |
tmfang | 8ad18fb | 2018-11-28 16:59:15 +0800 | [diff] [blame] | 39 | <com.android.settingslib.widget.ActionButtonsPreference |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 40 | android:key="action_buttons" |
| 41 | android:order="-9998" /> |
| 42 | |
| 43 | <Preference |
| 44 | android:key="notification_settings" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 45 | android:title="@string/notifications_label" |
tmfang | 3adb74e | 2018-11-09 20:21:14 +0800 | [diff] [blame] | 46 | settings:controller="com.android.settings.applications.appinfo.AppNotificationPreferenceController" |
| 47 | settings:allowDividerAbove="true"/> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 48 | |
| 49 | <com.android.settings.widget.FixedLineSummaryPreference |
| 50 | android:key="permission_settings" |
| 51 | android:title="@string/permissions_label" |
| 52 | android:summary="@string/summary_placeholder" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 53 | settings:summaryLineCount="1" |
| 54 | settings:controller="com.android.settings.applications.appinfo.AppPermissionPreferenceController" /> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 55 | |
| 56 | <Preference |
| 57 | android:key="storage_settings" |
Fan Zhang | 92fad09 | 2019-03-21 12:44:46 -0700 | [diff] [blame] | 58 | android:title="@string/storage_settings_for_app" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 59 | android:summary="@string/summary_placeholder" |
| 60 | settings:controller="com.android.settings.applications.appinfo.AppStoragePreferenceController" /> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 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" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 65 | android:selectable="true" |
| 66 | settings:controller="com.android.settings.applications.appinfo.InstantAppDomainsPreferenceController" /> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 67 | |
| 68 | <Preference |
Doris Ling | 282a0d9 | 2018-11-30 16:20:32 -0800 | [diff] [blame] | 69 | android:key="data_settings" |
Doris Ling | b758e2b | 2018-10-01 17:23:22 -0700 | [diff] [blame] | 70 | android:title="@string/data_usage_app_summary_title" |
| 71 | android:summary="@string/summary_placeholder" |
Doris Ling | 282a0d9 | 2018-11-30 16:20:32 -0800 | [diff] [blame] | 72 | settings:controller="com.android.settings.applications.appinfo.AppDataUsagePreferenceController" /> |
Doris Ling | b758e2b | 2018-10-01 17:23:22 -0700 | [diff] [blame] | 73 | |
| 74 | <Preference |
Fan Zhang | 64a8f70 | 2018-03-23 13:02:24 -0700 | [diff] [blame] | 75 | android:key="time_spent_in_app" |
| 76 | android:title="@string/time_spent_in_app_pref_title" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 77 | settings:controller="com.android.settings.applications.appinfo.TimeSpentInAppPreferenceController" /> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 78 | |
| 79 | <Preference |
| 80 | android:key="battery" |
| 81 | android:title="@string/power_usage_summary_title" |
Fan Zhang | 64a8f70 | 2018-03-23 13:02:24 -0700 | [diff] [blame] | 82 | android:summary="@string/summary_placeholder" /> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 83 | |
| 84 | <Preference |
| 85 | android:key="preferred_settings" |
| 86 | android:title="@string/launch_by_default" |
| 87 | android:summary="@string/summary_placeholder" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 88 | android:selectable="true" |
| 89 | settings:controller="com.android.settings.applications.appinfo.AppOpenByDefaultPreferenceController" /> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 90 | |
| 91 | <Preference |
| 92 | android:key="memory" |
| 93 | android:title="@string/memory_settings_title" |
| 94 | android:summary="@string/summary_placeholder" |
Fan Zhang | 64a8f70 | 2018-03-23 13:02:24 -0700 | [diff] [blame] | 95 | android:enabled="false" /> |
Doris Ling | 86daa8f | 2017-11-30 15:45:25 -0800 | [diff] [blame] | 96 | |
| 97 | <!-- Default apps shortcuts --> |
| 98 | <Preference |
| 99 | android:key="default_home" |
| 100 | android:title="@string/home_app" |
| 101 | android:summary="@string/summary_placeholder" /> |
| 102 | |
| 103 | <Preference |
| 104 | android:key="default_browser" |
| 105 | android:title="@string/default_browser_title" |
| 106 | android:summary="@string/summary_placeholder" /> |
| 107 | |
| 108 | <Preference |
| 109 | android:key="default_phone_app" |
| 110 | android:title="@string/default_phone_title" |
| 111 | android:summary="@string/default_phone_title" /> |
| 112 | |
| 113 | <Preference |
| 114 | android:key="default_emergency_app" |
| 115 | android:title="@string/default_emergency_app" |
| 116 | android:summary="@string/summary_placeholder" /> |
| 117 | |
| 118 | <Preference |
| 119 | android:key="default_sms_app" |
| 120 | android:title="@string/sms_application_title" |
| 121 | android:summary="@string/summary_placeholder" /> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 122 | |
Doris Ling | 765007b | 2017-12-01 17:18:01 -0800 | [diff] [blame] | 123 | <!-- Advanced apps settings --> |
| 124 | <PreferenceCategory |
| 125 | android:key="advanced_app_info" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 126 | android:title="@string/advanced_apps" |
| 127 | settings:controller="com.android.settings.applications.appinfo.AdvancedAppInfoPreferenceCategoryController"> |
Doris Ling | 765007b | 2017-12-01 17:18:01 -0800 | [diff] [blame] | 128 | |
| 129 | <Preference |
| 130 | android:key="system_alert_window" |
| 131 | android:title="@string/draw_overlay" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 132 | android:summary="@string/summary_placeholder" |
| 133 | settings:controller="com.android.settings.applications.appinfo.DrawOverlayDetailPreferenceController" /> |
Doris Ling | 765007b | 2017-12-01 17:18:01 -0800 | [diff] [blame] | 134 | |
| 135 | <Preference |
| 136 | android:key="write_settings_apps" |
| 137 | android:title="@string/write_settings" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 138 | android:summary="@string/summary_placeholder" |
| 139 | settings:controller="com.android.settings.applications.appinfo.WriteSystemSettingsPreferenceController" /> |
Doris Ling | 765007b | 2017-12-01 17:18:01 -0800 | [diff] [blame] | 140 | |
| 141 | <Preference |
| 142 | android:key="picture_in_picture" |
| 143 | android:title="@string/picture_in_picture_app_detail_title" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 144 | android:summary="@string/summary_placeholder" |
Fan Zhang | 4560ab7 | 2018-07-10 15:46:31 -0700 | [diff] [blame] | 145 | settings:controller="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureDetailPreferenceController" /> |
Doris Ling | 765007b | 2017-12-01 17:18:01 -0800 | [diff] [blame] | 146 | |
| 147 | <Preference |
| 148 | android:key="install_other_apps" |
| 149 | android:title="@string/install_other_apps" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 150 | android:summary="@string/summary_placeholder" |
| 151 | settings:controller="com.android.settings.applications.appinfo.ExternalSourceDetailPreferenceController" /> |
Doris Ling | 765007b | 2017-12-01 17:18:01 -0800 | [diff] [blame] | 152 | |
kholoud mohamed | 14a887f | 2020-01-29 17:38:31 +0000 | [diff] [blame] | 153 | <Preference |
| 154 | android:key="interact_across_profiles" |
| 155 | android:title="@string/interact_across_profiles_title" |
| 156 | android:summary="@string/summary_placeholder" |
| 157 | settings:controller="com.android.settings.applications.specialaccess.interactacrossprofiles.InteractAcrossProfilesDetailsPreferenceController" /> |
| 158 | |
Doris Ling | 765007b | 2017-12-01 17:18:01 -0800 | [diff] [blame] | 159 | </PreferenceCategory> |
| 160 | |
Doris Ling | 6e447d6 | 2017-12-07 12:38:04 -0800 | [diff] [blame] | 161 | <!-- App installer info --> |
| 162 | <PreferenceCategory |
| 163 | android:key="app_installer" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 164 | android:title="@string/app_install_details_group_title" |
| 165 | settings:controller="com.android.settings.applications.appinfo.AppInstallerPreferenceCategoryController"> |
Doris Ling | 6e447d6 | 2017-12-07 12:38:04 -0800 | [diff] [blame] | 166 | |
| 167 | <Preference |
| 168 | android:key="app_info_store" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 169 | android:title="@string/app_install_details_title" |
| 170 | settings:controller="com.android.settings.applications.appinfo.AppInstallerInfoPreferenceController" /> |
Doris Ling | 6e447d6 | 2017-12-07 12:38:04 -0800 | [diff] [blame] | 171 | |
| 172 | </PreferenceCategory> |
| 173 | |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 174 | <Preference |
Fan Zhang | e234664 | 2018-05-14 14:06:23 -0700 | [diff] [blame] | 175 | android:key="app_settings_link" |
| 176 | android:title="@string/app_settings_link" |
| 177 | settings:controller="com.android.settings.applications.appinfo.AppSettingPreferenceController" |
| 178 | settings:allowDividerAbove="true" /> |
| 179 | |
| 180 | <Preference |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 181 | android:key="app_version" |
| 182 | android:selectable="false" |
Fan Zhang | b5c651c | 2018-03-29 15:45:49 -0700 | [diff] [blame] | 183 | android:order="9999" |
Fan Zhang | e234664 | 2018-05-14 14:06:23 -0700 | [diff] [blame] | 184 | settings:controller="com.android.settings.applications.appinfo.AppVersionPreferenceController" |
Doris Ling | 74f7b30 | 2018-11-28 12:25:39 -0800 | [diff] [blame] | 185 | settings:allowDividerAbove="true" |
| 186 | settings:enableCopying="true"/> |
Doris Ling | 6eb8877 | 2017-11-22 17:01:25 -0800 | [diff] [blame] | 187 | |
Doris Ling | 282a0d9 | 2018-11-30 16:20:32 -0800 | [diff] [blame] | 188 | </PreferenceScreen> |