Skip to content

Commit

Permalink
Revert "!!DEBUG!! change MODE_IN_COMMUNICATION to MODE_IN_CALL"
Browse files Browse the repository at this point in the history
This reverts commit 7ff1a9c.
  • Loading branch information
zoff99 committed Dec 31, 2024
1 parent 7ff1a9c commit ac2bed3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4660,7 +4660,7 @@ synchronized public static void set_audio_to_loudspeaker(AudioManager manager)
else
{
print_stack_trace();
manager.setMode(AudioManager.MODE_IN_CALL);
manager.setMode(AudioManager.MODE_IN_COMMUNICATION);
manager.setWiredHeadsetOn(false);
manager.setBluetoothScoOn(false);
manager.setSpeakerphoneOn(true);
Expand Down Expand Up @@ -4706,7 +4706,7 @@ synchronized public static void set_audio_to_ear(AudioManager manager)
else
{
print_stack_trace();
manager.setMode(AudioManager.MODE_IN_CALL);
manager.setMode(AudioManager.MODE_IN_COMMUNICATION);
manager.setWiredHeadsetOn(false);
manager.setBluetoothScoOn(false);
manager.setSpeakerphoneOn(false);
Expand Down Expand Up @@ -4765,7 +4765,7 @@ synchronized public static void set_audio_to_headset(AudioManager manager)
else
{
print_stack_trace();
manager.setMode(AudioManager.MODE_IN_CALL);
manager.setMode(AudioManager.MODE_IN_COMMUNICATION);
manager.setBluetoothScoOn(false);
manager.setSpeakerphoneOn(false);
manager.setWiredHeadsetOn(true);
Expand Down

0 comments on commit ac2bed3

Please sign in to comment.