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

Skip to content
Commit 5e44e565 authored by Kyunglyul Hyun's avatar Kyunglyul Hyun
Browse files

clearCommunicationDevice only when necessary

Calling CallAudioRouteStateMachine#setSpeakerphoneOn(false)
clears communication device regardless of the current device,
which resulted in cancelling current BT communication device.

This CL fixes it.

Bug: 229342692
Test: atest CallAudioRouteStateMachineTest && manually confirmed
by calling.

Change-Id: I9ea8759fd89dce02c0c9d8ef49e7b547bb762c11
parent d25baf7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment