DivestOS/Patches/LineageOS-17.1/android_frameworks_base/272646-forwardport.patch
Tad b5bc269743
SBC dualchannel picks
Signed-off-by: Tad <tad@spotco.us>
2022-12-18 21:47:22 -05:00

45 lines
1.7 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: ValdikSS <iam@valdikss.org.ru>
Date: Mon, 10 Sep 2018 14:07:40 +0300
Subject: [PATCH] Add Dual Channel into Bluetooth Audio Channel Mode developer
options menu
Change-Id: I9360b91c9b3d28e0cb9d8adebb5131c38b3082f0
---
packages/SettingsLib/res/values/cm_arrays.xml | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/packages/SettingsLib/res/values/cm_arrays.xml b/packages/SettingsLib/res/values/cm_arrays.xml
index beff6a47dc24..e15f4dd23cef 100644
--- a/packages/SettingsLib/res/values/cm_arrays.xml
+++ b/packages/SettingsLib/res/values/cm_arrays.xml
@@ -45,4 +45,28 @@
<item>Enable Optional Codecs</item>
<item>Disable Optional Codecs</item>
</string-array>
+
+ <!-- Summaries for Bluetooth Audio Codec Channel Mode selection preference. [CHAR LIMIT=50]-->
+ <string-array name="lineage_bluetooth_a2dp_codec_channel_mode_summaries" >
+ <item>Use System Selection (Default)</item>
+ <item>Mono</item>
+ <item>Stereo</item>
+ <item>Dual Channel</item>
+ </string-array>
+
+ <!-- Titles for Bluetooth Audio Codec Channel Mode selection preference. [CHAR LIMIT=50] -->
+ <string-array name="lineage_bluetooth_a2dp_codec_channel_mode_titles">
+ <item>Use System Selection (Default)</item>
+ <item>Mono</item>
+ <item>Stereo</item>
+ <item>Dual Channel</item>
+ </string-array>
+
+ <!-- Values for Bluetooth Audio Codec Channel Mode selection preference. -->
+ <string-array name="lineage_bluetooth_a2dp_codec_channel_mode_values" translatable="false" >
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ <item>3</item>
+ </string-array>
</resources>