Fix for #2185627 : ArrayIndexOutOfBounds in BinaryDictionary.getWords()

Make sure the word count doesn't exceed the maximum suggested words.

And also, only get the count one time instead of every time a match
is found.
2 files changed
tree: 7f29b98de9562e182aaac8e1ef7fa7d8969dfee7
  1. dictionaries/
  2. dictionary/
  3. res/
  4. src/
  5. Android.mk
  6. AndroidManifest.xml