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

Commit ee3fb913 authored by Mark Harman's avatar Mark Harman
Browse files

Fix logging not under MyDebug.LOG.

parent 40aaf96c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -777,6 +777,7 @@ public class MainActivity extends Activity {
		preloaded_bitmap_resources.clear();
	    if( textToSpeech != null ) {
	    	// http://stackoverflow.com/questions/4242401/tts-error-leaked-serviceconnection-android-speech-tts-texttospeech-solved
			if( MyDebug.LOG )
		        Log.d(TAG, "free textToSpeech");
	    	textToSpeech.stop();
	    	textToSpeech.shutdown();