Last active
October 20, 2018 10:53
-
-
Save blunden/b58ee6c081f6a4f979f76e74fe2d5422 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 483e5fd77a535969e2361d98a83ac01beefb4f3c Mon Sep 17 00:00:00 2001 | |
From: blunden <[email protected]> | |
Date: Sat, 20 Oct 2018 12:46:30 +0200 | |
Subject: [PATCH] Add Dual Channel into Bluetooth Audio Channel Mode developer | |
options menu | |
Change-Id: I54530b327c6626c569598a27544ea4198419a352 | |
--- | |
src/com/android/settings/development/DevelopmentSettings.java | 6 ++++++ | |
1 file changed, 6 insertions(+) | |
diff --git a/src/com/android/settings/development/DevelopmentSettings.java b/src/com/android/settings/development/DevelopmentSettings.java | |
index 3d9164b..e7a1de1 100644 | |
--- a/src/com/android/settings/development/DevelopmentSettings.java | |
+++ b/src/com/android/settings/development/DevelopmentSettings.java | |
@@ -2135,6 +2135,9 @@ public class DevelopmentSettings extends RestrictedSettingsFragment | |
case BluetoothCodecConfig.CHANNEL_MODE_STEREO: | |
index = 2; | |
break; | |
+ case BluetoothCodecConfig.CHANNEL_MODE_DUAL_CHANNEL: | |
+ index = 3; | |
+ break; | |
case BluetoothCodecConfig.CHANNEL_MODE_NONE: | |
default: | |
break; | |
@@ -2342,6 +2345,9 @@ public class DevelopmentSettings extends RestrictedSettingsFragment | |
case 2: | |
channelModeValue = BluetoothCodecConfig.CHANNEL_MODE_STEREO; | |
break; | |
+ case 3: | |
+ channelModeValue = BluetoothCodecConfig.CHANNEL_MODE_DUAL_CHANNEL; | |
+ break; | |
default: | |
break; | |
} | |
-- | |
2.7.4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment