mohaxspb / Odnako

Odnako
https://play.google.com/store/apps/details?id=ru.kuchanov.odnako
5 stars 0 forks source link

Fix trying to get action from intent which is null in onStartCommand of ServiceTTS #53

Closed mohaxspb closed 9 years ago

mohaxspb commented 9 years ago

This may be caused by trying to restart service with null intent after app crusing;

Also it can be caused by error in serviceTTS itself... But I don't think so;

mohaxspb commented 9 years ago

We have these lines in logs (reportID=f0ab93c2-3197-4f29-9196-5a772aa36703)

Could not find method android.speech.tts.TextToSpeech.speak, referenced from method ru.kuchanov.odnako.utils.ServiceTTS.speekPart 05-09 23:35:18.891 W/dalvikvm(29705): VFY: unable to resolve virtual method 1647: Landroid/speech/tts/TextToSpeech;.speak (Ljava/lang/CharSequence;ILandroid/os/Bundle;Ljava/lang/String;)I