aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/TextEntryState.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-03-31 14:01:59 -0700
committerAmith Yamasani <yamasani@google.com>2010-03-31 14:01:59 -0700
commitfbd1866424b39cf5c1b636a7bb31151dba00b9a0 (patch)
tree6ddb2250e3ce475082706a941e6f1589e1d102cd /java/src/com/android/inputmethod/latin/TextEntryState.java
parent06933183c8b4935f22e793d9f715907653074d2c (diff)
downloadlatinime-fbd1866424b39cf5c1b636a7bb31151dba00b9a0.tar.gz
latinime-fbd1866424b39cf5c1b636a7bb31151dba00b9a0.tar.xz
latinime-fbd1866424b39cf5c1b636a7bb31151dba00b9a0.zip
Avoid race conditions between queries and closing of the auto_dict database.
Keep a reference to the openhelper around across locale and input language changes. Also, share the openhelper between the queries and updates. Creating a new one in a separate thread could cause it to be closed at the wrong time. Monkey bugs, probably dupes. Bug: 2560471 Bug: 2544169 Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
Diffstat (limited to 'java/src/com/android/inputmethod/latin/TextEntryState.java')
0 files changed, 0 insertions, 0 deletions