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

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

Snap for 8486043 from f6d50225 to tm-d1-release

Change-Id: Ib29379d939c54b69ae3d271826800a60e3de1952
parents 4113bf6a f6d50225
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);
    }