blob: d3aad228b079864bd07d11c91b4e158f9eab4f30 [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 Shen4af51782024-01-12 16:51:25 +080034 <Preference
35 android:icon="@drawable/ic_audio_play_sample"
36 android:key="audio_sharing_play_sound"
37 android:summary="Everyone listening should hear it"
38 android:title="Play a test sound"
39 settings:controller="com.android.settings.connecteddevice.audiosharing.AudioSharingPlaySoundPreferenceController" />
40
Yiyi Shen16253332024-01-15 17:58:55 +080041 <PreferenceCategory
42 android:key="audio_sharing_stream_settings_category"
43 android:title="Stream settings"
44 settings:controller="com.android.settings.connecteddevice.audiosharing.StreamSettingsCategoryController">
45
46 <com.android.settings.connecteddevice.audiosharing.AudioSharingNamePreference
47 android:key="audio_sharing_stream_name"
48 android:summary="********"
49 android:title="Stream name"
50 settings:controller="com.android.settings.connecteddevice.audiosharing.AudioSharingNamePreferenceController" />
Yiyi Shen3cdd1112024-01-16 15:52:09 +080051 <SwitchPreferenceCompat
52 android:key="audio_sharing_stream_compatibility"
53 android:title="Improve compatibility"
54 settings:controller="com.android.settings.connecteddevice.audiosharing.AudioSharingCompatibilityPreferenceController" />
Yiyi Shen16253332024-01-15 17:58:55 +080055 </PreferenceCategory>
Yiyi Shen1af86c32023-11-01 15:57:15 +080056
chelseahao9dd627e2023-10-31 15:59:46 +080057 <PreferenceCategory
58 android:key="audio_streams_settings_category"
chelseahaoaf0d38f2023-11-14 17:18:02 +080059 android:title="@string/audio_streams_category_title"
60 settings:controller="com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamsCategoryController">
chelseahao9dd627e2023-10-31 15:59:46 +080061
62 <Preference
chelseahaoaf0d38f2023-11-14 17:18:02 +080063 android:fragment="com.android.settings.connecteddevice.audiosharing.audiostreams.AudioStreamsDashboardFragment"
Yiyi Shen4b2c4402023-11-22 18:27:06 +080064 android:icon="@drawable/ic_chevron_right_24dp"
65 android:key="audio_streams_settings"
66 android:title="@string/audio_streams_pref_title" />
chelseahao9dd627e2023-10-31 15:59:46 +080067
68 </PreferenceCategory>
Yiyi Shen4410df72023-10-24 16:09:49 +080069</PreferenceScreen>