1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2016 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<PreferenceScreen 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:settings="http://schemas.android.com/apk/res-auto" 20 android:key="special_app_access_screen" 21 android:title="@string/special_access"> 22 23 <Preference 24 android:key="high_power_apps" 25 android:title="@string/high_power_apps" 26 android:fragment="com.android.settings.applications.manageapplications.ManageApplications" 27 settings:keywords="@string/keywords_ignore_optimizations" 28 settings:controller="com.android.settings.applications.specialaccess.HighPowerAppsController"> 29 <extra 30 android:name="classname" 31 android:value="com.android.settings.Settings$HighPowerApplicationsActivity" /> 32 </Preference> 33 34 <Preference 35 android:key="device_administrators" 36 android:title="@string/manage_device_admin" 37 android:fragment="com.android.settings.applications.specialaccess.deviceadmin.DeviceAdminSettings" 38 android:summary="@string/summary_placeholder" 39 settings:controller="com.android.settings.enterprise.ManageDeviceAdminPreferenceController" /> 40 41 <Preference 42 android:key="system_alert_window" 43 android:title="@string/system_alert_window_settings" 44 android:fragment="com.android.settings.applications.manageapplications.ManageApplications" 45 settings:keywords="@string/keywords_system_alert_window" 46 settings:controller="com.android.settings.applications.specialaccess.SystemAlertWindowPreferenceController"> 47 <extra 48 android:name="classname" 49 android:value="com.android.settings.Settings$OverlaySettingsActivity" /> 50 </Preference> 51 52 <Preference 53 android:key="zen_access" 54 android:title="@string/manage_zen_access_title" 55 android:fragment="com.android.settings.notification.ZenAccessSettings" 56 settings:controller="com.android.settings.applications.specialaccess.zenaccess.ZenAccessController" /> 57 58 <Preference 59 android:key="write_settings_apps" 60 android:title="@string/write_settings" 61 android:fragment="com.android.settings.applications.manageapplications.ManageApplications" 62 settings:keywords="@string/keywords_write_settings"> 63 <extra 64 android:name="classname" 65 android:value="com.android.settings.Settings$WriteSettingsActivity" /> 66 </Preference> 67 68 <com.android.settingslib.widget.apppreference.AppPreference 69 android:key="notification_assistant" 70 android:title="@string/notification_assistant_title" 71 android:summary="@string/summary_placeholder" 72 settings:fragment="com.android.settings.notification.NotificationAssistantPicker" 73 settings:controller="com.android.settings.notification.NotificationAssistantPreferenceController"/> 74 75 <Preference 76 android:key="notification_access" 77 android:title="@string/manage_notification_access_title" 78 android:fragment="com.android.settings.notification.NotificationAccessSettings" 79 settings:controller="com.android.settings.applications.specialaccess.notificationaccess.NotificationAccessController" /> 80 81 <Preference 82 android:key="picture_in_picture" 83 android:title="@string/picture_in_picture_title" 84 android:fragment="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureSettings" 85 settings:keywords="@string/picture_in_picture_keywords" 86 settings:controller="com.android.settings.applications.specialaccess.pictureinpicture.PictureInPictureController" /> 87 88 <Preference 89 android:key="premium_sms" 90 android:title="@string/premium_sms_access" 91 android:fragment="com.android.settings.applications.specialaccess.premiumsms.PremiumSmsAccess" 92 settings:controller="com.android.settings.applications.specialaccess.premiumsms.PremiumSmsController" /> 93 94 <Preference 95 android:key="default_payment_app" 96 android:title="@string/nfc_payment_settings_title" 97 android:fragment="com.android.settings.nfc.PaymentSettings" 98 settings:keywords="@string/keywords_default_payment_app" 99 settings:controller="com.android.settings.applications.specialaccess.DefaultPaymentSettingsPreferenceController" /> 100 101 <Preference 102 android:key="data_saver" 103 android:title="@string/unrestricted_data_saver" 104 android:fragment="com.android.settings.datausage.UnrestrictedDataAccess" 105 settings:controller="com.android.settings.applications.specialaccess.DataSaverController" /> 106 107 <Preference 108 android:key="manage_external_sources" 109 android:title="@string/install_other_apps" 110 android:fragment="com.android.settings.applications.manageapplications.ManageApplications" 111 settings:keywords="@string/keywords_install_other_apps"> 112 <extra 113 android:name="classname" 114 android:value="com.android.settings.Settings$ManageExternalSourcesActivity" /> 115 </Preference> 116 117 <Preference 118 android:key="special_app_usage_access" 119 android:title="@string/usage_access" 120 android:fragment="com.android.settings.applications.manageapplications.ManageApplications" 121 settings:keywords="@string/keywords_write_settings"> 122 <extra 123 android:name="classname" 124 android:value="com.android.settings.Settings$UsageAccessSettingsActivity" /> 125 </Preference> 126 127 <Preference 128 android:key="enabled_vr_listeners" 129 android:title="@string/vr_listeners_title" 130 android:fragment="com.android.settings.applications.specialaccess.vrlistener.VrListenerSettings" 131 settings:keywords="@string/keywords_vr_listener" 132 settings:controller="com.android.settings.applications.specialaccess.vrlistener.EnabledVrListenersController"> 133 <extra 134 android:name="classname" 135 android:value="com.android.settings.Settings$VrListenersSettingsActivity" /> 136 </Preference> 137 138 <Preference 139 android:key="change_wifi_state" 140 android:title="@string/change_wifi_state_title" 141 android:fragment="com.android.settings.applications.manageapplications.ManageApplications" 142 settings:keywords="@string/keywords_change_wifi_state"> 143 <extra 144 android:name="classname" 145 android:value="com.android.settings.Settings$ChangeWifiStateActivity" /> 146 </Preference> 147 148 <Preference 149 android:key="special_access_more" 150 android:title="@string/special_access_more" 151 settings:controller="com.android.settings.applications.specialaccess.MoreSpecialAccessPreferenceController" /> 152</PreferenceScreen> 153