blob: d5e08bbc7e46bd2520725a63a539640ae9e68f19 [file] [log] [blame]
Yiyi Shen4410df72023-10-24 16:09:49 +08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2023 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<PreferenceScreen
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res-auto"
20 android:title="@string/audio_sharing_title">
21
Yiyi Shen4b2c4402023-11-22 18:27:06 +080022 <PreferenceCategory
23 android:key="audio_sharing_device_volume_group"
24 android:title="Devices listening"
25 settings:controller="com.android.settings.connecteddevice.audiosharing.AudioSharingDeviceVolumeGroupController" />
26
Yiyi Shen60c33f52023-10-30 13:23:35 +080027 <Preference
Yiyi Shen60c33f52023-10-30 13:23:35 +080028 android:icon="@drawable/ic_audio_calls_and_alarms"
Yiyi Shen4b2c4402023-11-22 18:27:06 +080029 android:key="calls_and_alarms"
30 android:summary=""
31 android:title="@string/calls_and_alarms_device_title"
32 settings:controller="com.android.settings.connecteddevice.audiosharing.CallsAndAlarmsPreferenceController" />
chelseahao9dd627e2023-10-31 15:59:46 +080033
Yiyi Shen1af86c32023-11-01 15:57:15 +080034 <com.android.settings.connecteddevice.audiosharing.AudioSharingNamePreference
35 android:key="audio_sharing_stream_name"
Yiyi Shen1af86c32023-11-01 15:57:15 +080036 android:summary="********"
Yiyi Shen4b2c4402023-11-22 18:27:06 +080037 android:title="Stream name"
38 settings:controller="com.android.settings.connecteddevice.audiosharing.AudioSharingNamePreferenceController" />
Yiyi Shen1af86c32023-11-01 15:57:15 +080039
chelseahao9dd627e2023-10-31 15:59:46 +080040 <PreferenceCategory
41 android:key="audio_streams_settings_category"
chelseahaoaf0d38f2023-11-14 17:18:02 +080042 android:title="@string/audio_streams_category_title"
43 settings:controller="com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamsCategoryController">
chelseahao9dd627e2023-10-31 15:59:46 +080044
45 <Preference
chelseahaoaf0d38f2023-11-14 17:18:02 +080046 android:fragment="com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamsDashboardFragment"
Yiyi Shen4b2c4402023-11-22 18:27:06 +080047 android:icon="@drawable/ic_chevron_right_24dp"
48 android:key="audio_streams_settings"
49 android:title="@string/audio_streams_pref_title" />
chelseahao9dd627e2023-10-31 15:59:46 +080050
51 </PreferenceCategory>
Yiyi Shen4410df72023-10-24 16:09:49 +080052</PreferenceScreen>