Fix NPE when when accessibility/switch-access is enabled

This CL introduces a hack to ignore accessibility events on a background TextView. Without this hack the framework thinks this view is shown correctly and calls View#getParent(), which throws NPE as this view has no parent.

Closes Issue 257.

BUG=Issue mozc:257
TEST=Manually done in Android 5.0 LPX21P on Nexus 7 2013 (WiFi)

git-svn-id: https://mozc.googlecode.com/svn/trunk@385 a6090854-d499-a067-5803-1114d4e51264
2 files changed
tree: c94fbd2e6830a51e13159fe4e3e048580a77d80d
  1. src/