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

Commit f36fec13 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8485504 from 95741819 to tm-release

Change-Id: Ica7c11806b976e073244f9853fc65e27403cc3c3
parents fbb1696b 95741819
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1654,8 +1654,11 @@ public class CallAudioRouteStateMachine extends StateMachine {
                speakerOn = true;
            }
        } else {
            AudioDeviceInfo curDevice = mAudioManager.getCommunicationDevice();
            if (curDevice != null && curDevice.getType() == AudioDeviceInfo.TYPE_BUILTIN_SPEAKER) {
                mAudioManager.clearCommunicationDevice();
            }
        }
        mStatusBarNotifier.notifySpeakerphone(speakerOn);
    }