• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright 2018 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:title="@string/applications_settings"
22    android:key="@string/psk_application_details">
23    <com.android.car.settings.common.EntityHeaderPreference
24        android:key="@string/pk_application_details_app"
25        settings:controller="com.android.car.settings.applications.ApplicationPreferenceController"
26        settings:searchable="false"/>
27    <com.android.car.settings.common.ActionButtonsPreference
28        android:key="@string/pk_application_details_action_buttons"
29        settings:controller="com.android.car.settings.applications.ApplicationActionButtonsPreferenceController"
30        settings:searchable="false"/>
31    <SwitchPreference
32        android:key="@string/pk_application_details_notifications"
33        android:title="@string/notifications_label"
34        settings:controller="com.android.car.settings.applications.NotificationsPreferenceController"/>
35    <Preference
36        android:key="@string/pk_application_details_permissions"
37        android:title="@string/permissions_label"
38        settings:controller="com.android.car.settings.applications.PermissionsPreferenceController"/>
39    <Preference
40        android:key="@string/pk_application_details_storage"
41        android:title="@string/storage_application_label"
42        settings:controller="com.android.car.settings.applications.StoragePreferenceController"/>
43    <SwitchPreference
44        android:key="@string/pk_application_details_peak_performance"
45        android:title="@string/peak_performance_label"
46        settings:controller=
47            "com.android.car.settings.applications.PeakPerformancePreferenceController"/>
48    <SwitchPreference
49        android:key="@string/pk_hibernation_switch"
50        android:title="@string/unused_apps_switch"
51        settings:controller=
52            "com.android.car.settings.applications.appinfo.HibernationSwitchPreferenceController" />
53    <com.android.car.ui.preference.CarUiPreference
54        android:key="@string/pk_application_details_version"
55        settings:controller="com.android.car.settings.applications.VersionPreferenceController"
56        settings:showChevron="false"/>
57</PreferenceScreen>
58