A2DP: Clean up for redundant code
Removed unused "isSplitA2dpEnabled" flag
based conditions which do not have any
functionality impact.
CRs-Fixed: 2517636
Change-Id: Iefa2e8d2640080a3a8da189586d2c047e834659e
diff --git a/src/com/android/bluetooth/a2dp/A2dpService.java b/src/com/android/bluetooth/a2dp/A2dpService.java
index 8104526..b11ae58 100644
--- a/src/com/android/bluetooth/a2dp/A2dpService.java
+++ b/src/com/android/bluetooth/a2dp/A2dpService.java
@@ -873,18 +873,6 @@
// change, so the Audio Service can reset accordingly the audio
// feeding parameters in the Audio HAL to the Bluetooth stack.
- // Split A2dp will be enabled by default
- boolean isSplitA2dpEnabled = true;
- AdapterService adapterService = AdapterService.getAdapterService();
-
- if (adapterService != null){
- isSplitA2dpEnabled = adapterService.isSplitA2dpEnabled();
- Log.v(TAG,"isSplitA2dpEnabled: " + isSplitA2dpEnabled);
- } else {
- Log.e(TAG,"adapterService is null");
- }
-
-
if (wasMuted) {
mAudioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC,
AudioManager.ADJUST_UNMUTE,