From acaf2e8f75a0b8f647bfecf6811c20ab77b59321 Mon Sep 17 00:00:00 2001 From: Alexander Epaneshnikov Date: Mon, 21 Feb 2022 18:10:04 +0300 Subject: [PATCH] Android: enable debug logs in debug build type --- android/src/com/reecedunn/espeak/TtsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/com/reecedunn/espeak/TtsService.java b/android/src/com/reecedunn/espeak/TtsService.java index 1af0d9d3..22b9b4e3 100644 --- a/android/src/com/reecedunn/espeak/TtsService.java +++ b/android/src/com/reecedunn/espeak/TtsService.java @@ -63,7 +63,7 @@ public class TtsService extends TextToSpeechService { private static final String TAG = TtsService.class.getSimpleName(); private static Context storageContext; - private static final boolean DEBUG = false; + private static final boolean DEBUG = BuildConfig.DEBUG; private SpeechSynthesis mEngine; private SynthesisCallback mCallback;