diff --git a/app/src/main/java/com/bald/uriah/baldphone/activities/DialerActivity.java b/app/src/main/java/com/bald/uriah/baldphone/activities/DialerActivity.java index 65758df9..d50f647a 100644 --- a/app/src/main/java/com/bald/uriah/baldphone/activities/DialerActivity.java +++ b/app/src/main/java/com/bald/uriah/baldphone/activities/DialerActivity.java @@ -102,7 +102,7 @@ public void onCreate(@Nullable final Bundle savedInstanceState) { return; setContentView(R.layout.dialer); contentResolver = getContentResolver(); - playDialSounds = BPrefs.get(this).getBoolean(BPrefs.DIALER_SOUNDS_KEY, BPrefs.DIALER_SOUNDS_DEFAULT_VALUE); + playDialSounds = BPrefs.get(this).getBoolean(BPrefs.DIALER_SOUNDS_KEY, BPrefs.DIALER_SOUNDS_DEFAULT_VALUE) && !testing; if (playDialSounds) dtmfGenerator = new ToneGenerator(STREAM_SYSTEM, TONE_VOLUME); attachXml();