]> gitweb.fperrin.net Git - Dictionary.git/commit
Catch exceptions when setting TTS language.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 30 Mar 2016 19:34:22 +0000 (21:34 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 30 Mar 2016 19:34:22 +0000 (21:34 +0200)
commitb3b110191068008c8b5180ff2d6d3af6373def9f
treebcfc89ca0acf5a92a854d1c4eee33c4aef24f7a3
parentc9012e8abcdbd2d68f348eefe72f7faae979d5d5
Catch exceptions when setting TTS language.

On some Galaxy S6, Android 6.0 it results in a
java.lang.IllegalArgumentException: Invalid int: "OS"
This is almost certainly an Android bug, but show
a message instead of crashing.
res/values/strings.xml
src/com/hughes/android/dictionary/DictionaryActivity.java