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

Commit b5de90c4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Trigger mute/unmute function for PTS mode only"

parents 7cf31e6f 3e08f0dd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1645,6 +1645,8 @@ public class LeAudioService extends ProfileService {

            final String action = intent.getAction();
            if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) {
                if (!Utils.isPtsTestMode()) return;

                int ringerMode = intent.getIntExtra(AudioManager.EXTRA_RINGER_MODE, -1);

                if (ringerMode < 0 || ringerMode == mStoredRingerMode) return;