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

Commit 830554c5 authored by Whale Chang's avatar Whale Chang Committed by Automerger Merge Worker
Browse files

Merge "Floss: Remove unnecessary check in HFP Hangup callback" into main am:...

Merge "Floss: Remove unnecessary check in HFP Hangup callback" into main am: e7c904cf am: ba0d0dd6

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/3071602



Change-Id: I18ff5025f82d78fc3424488be97f4443b3253f41
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 21f3c380 ba0d0dd6
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -1025,15 +1025,6 @@ impl BluetoothMedia {
                    warn!("Unexpected hangup call. phone_ops_enabled and mps_qualification_enabled does not enabled.");
                    return;
                }
                if self.should_insert_call_when_sco_start(addr) {
                    // The devices requiring a +CIEV event are not managed through the telephony commands.
                    // This allows to prevent to stop the SCO link as there is no command to set it up again.
                    debug!(
                        "[{}]: AT+CHUP skipped due to interop workaround",
                        DisplayAddress(&addr)
                    );
                    return;
                }
                if self.mps_qualification_enabled {
                    // In qualification mode we expect no application to interact with.
                    // So we just jump right in to the telephony ops implementation.