Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 284303f9 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

broadcaster: Fix suppressing noisy intent

Fixes the reversed logic to normal, which is to not supress
the intent when Boradcast gets disabled and phone speaker can
become noisy.

Bug: 150670922
Tag: #feature
Test: atest BluetoothInstrumentationTests
Sponsor: jpawlowski@
Change-Id: Ib1715e1f6080a8746fe2f9283aa2a88af0f33947
parent 8366a3e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1190,7 +1190,7 @@ public class LeAudioService extends ProfileService {
                        mAudioManager.handleBluetoothActiveDeviceChanged(mActiveAudioOutDevice,
                                previousDevice,
                                // TODO: implement createLeAudioBroadcastInfo()
                                BluetoothProfileConnectionInfo.createLeAudioInfo(true, true));
                                BluetoothProfileConnectionInfo.createLeAudioInfo(false, true));
                    }
                }

@@ -1217,7 +1217,7 @@ public class LeAudioService extends ProfileService {
                        mAudioManager.handleBluetoothActiveDeviceChanged(mActiveAudioOutDevice,
                                previousDevice,
                                // TODO: implement createLeAudioBroadcastInfo()
                                BluetoothProfileConnectionInfo.createLeAudioInfo(false, true));
                                BluetoothProfileConnectionInfo.createLeAudioInfo(true, true));
                    }
                }
            }