A mirror for futokb (https://gitlab.futo.org/keyboard)
Go to file
Jean Chalard 5c32b6da44 Make sure all FDs are correctly closed.
In this kind of series of calls, it's possible that an outer call to a
constructor fails, but the inner succeeded.
Example:
try {
    is = new A(new B());
} finally {
    if (null != is) is.close();
}
In this case, if new B() succeeds but new A() throws an
exception, is stays null and the intermediate object is never
closed. This is what was happening in this instance.

Bug: 7377336
Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
2012-11-13 16:53:07 +09:00
dictionaries Update AOSP dictionaries. 2012-10-24 16:12:28 +09:00
java Make sure all FDs are correctly closed. 2012-11-13 16:53:07 +09:00
native Don't consider non-words for split word suggestion 2012-10-18 07:28:18 +09:00
tests Always consider a new line the start of a sentence 2012-10-04 20:54:28 +09:00
tools Use a freq of 1 instead of 0 for non-word shortcuts. 2012-10-09 19:16:07 +09:00
Android.mk Reorganize LatinIME native build directory structure. Now it got NDK friendly. 2011-12-13 21:16:20 +09:00
CleanSpec.mk Pass the touch position correction data to native. 2011-09-29 17:00:49 +09:00