1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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="connected_devices_screen"
21    android:title="@string/connected_devices_dashboard_title">
22
23    <com.android.car.developeroptions.slices.SlicePreference
24        android:key="bt_nearby_slice"
25        android:title="@string/summary_placeholder"
26        settings:controller="com.android.car.developeroptions.slices.SlicePreferenceController"
27        settings:allowDividerBelow="true"/>
28
29    <PreferenceCategory
30        android:key="available_device_list"
31        android:title="@string/connected_device_available_media_title"
32        settings:controller="com.android.car.developeroptions.connecteddevice.AvailableMediaDeviceGroupController"/>
33
34    <PreferenceCategory
35        android:key="connected_device_list"
36        android:title="@string/connected_device_connected_title"
37        settings:controller="com.android.car.developeroptions.connecteddevice.ConnectedDeviceGroupController"/>
38
39    <com.android.settingslib.RestrictedPreference
40        android:key="add_bt_devices"
41        android:title="@string/bluetooth_pairing_pref_title"
42        android:icon="@drawable/ic_menu_add"
43        android:summary="@string/connected_device_add_device_summary"
44        android:fragment="com.android.car.developeroptions.bluetooth.BluetoothPairingDetail"
45        settings:allowDividerAbove="true"
46        settings:userRestriction="no_config_bluetooth"
47        settings:useAdminDisabledSummary="true"
48        settings:controller="com.android.car.developeroptions.connecteddevice.AddDevicePreferenceController"/>
49
50    <PreferenceCategory
51        android:key="previously_connected_devices"
52        android:title="@string/connected_device_previously_connected_title"
53        settings:controller="com.android.car.developeroptions.connecteddevice.PreviouslyConnectedDevicePreferenceController">
54
55        <Preference
56            android:key="previously_connected_devices_see_all"
57            android:title="@string/previous_connected_see_all"
58            android:icon="@drawable/ic_chevron_right_24dp"
59            android:order="10"
60            android:fragment="com.android.car.developeroptions.connecteddevice.PreviouslyConnectedDeviceDashboardFragment"/>
61    </PreferenceCategory>
62
63    <Preference
64        android:key="connection_preferences"
65        android:title="@string/connected_device_connections_title"
66        android:fragment="com.android.car.developeroptions.connecteddevice.AdvancedConnectedDeviceDashboardFragment"
67        settings:allowDividerAbove="true"
68        settings:controller="com.android.car.developeroptions.connecteddevice.AdvancedConnectedDeviceController"/>
69
70</PreferenceScreen>
71