From 3cdd111ed38efc487b72b26339f96aa6a8b2b5aa Mon Sep 17 00:00:00 2001 From: Yiyi Shen Date: Tue, 16 Jan 2024 15:52:09 +0800 Subject: [PATCH] [Audiosharing] Add toggle to improve sharing compatibility. Test: manual Bug: 305620450 Bug: 292538935 Change-Id: I8df92323c606cc3375a0f985d46c11caa12c6cfe --- res/xml/bluetooth_audio_sharing.xml | 4 + ...ringCompatibilityPreferenceController.java | 173 ++++++++++++++++++ 2 files changed, 177 insertions(+) create mode 100644 src/com/android/settings/connecteddevice/audiosharing/AudioSharingCompatibilityPreferenceController.java diff --git a/res/xml/bluetooth_audio_sharing.xml b/res/xml/bluetooth_audio_sharing.xml index dc577f6af9d..d3aad228b07 100644 --- a/res/xml/bluetooth_audio_sharing.xml +++ b/res/xml/bluetooth_audio_sharing.xml @@ -48,6 +48,10 @@ android:summary="********" android:title="Stream name" settings:controller="com.android.settings.connecteddevice.audiosharing.AudioSharingNamePreferenceController" /> +