Jean Chalard
f592270a0f
am 7648b37d
: Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev
...
* commit '7648b37d1e4cf3799288f85cc9c5f67b515e24c4':
Make sure all FDs are correctly closed.
2012-11-13 18:43:57 -08:00
Jean Chalard
7648b37d1e
Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev
2012-11-13 18:42:35 -08:00
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
Jean Chalard
80d7d32424
am d2116eb2
: am 7d34763e
: am fac619a3
: Merge "Don\'t restrict reset composing state to non-identical setText" into jb-mr1.1-dev
...
* commit 'd2116eb2ea7d08e81b7efe5e342772ffcd8a7efc':
Don't restrict reset composing state to non-identical setText
2012-11-12 23:48:20 -08:00
Jean Chalard
1b909c2846
Resolve conflicts for merge of 3a9ba17f
to master"
...
Change-Id: I8a1a84a81745a708f63e4211267c4afc3a6b8e49
2012-11-13 16:34:23 +09:00
Jean Chalard
d2116eb2ea
am 7d34763e
: am fac619a3
: Merge "Don\'t restrict reset composing state to non-identical setText" into jb-mr1.1-dev
...
* commit '7d34763e23cb49c8c96dbf9b4c613e17098dd919':
Don't restrict reset composing state to non-identical setText
2012-11-12 23:04:39 -08:00
Jean Chalard
3a9ba17fd2
am a13a8a58
: am 0e84041b
: Refactor all phantom-space-inserted spaces in one place
...
* commit 'a13a8a58e05ecd3f9eccdc47ceca972a814d247e':
Refactor all phantom-space-inserted spaces in one place
2012-11-12 23:04:37 -08:00
Jean Chalard
7d34763e23
am fac619a3
: Merge "Don\'t restrict reset composing state to non-identical setText" into jb-mr1.1-dev
...
* commit 'fac619a34c8101cac504db500d74114dc8768372':
Don't restrict reset composing state to non-identical setText
2012-11-12 23:02:34 -08:00
Jean Chalard
a13a8a58e0
am 0e84041b
: Refactor all phantom-space-inserted spaces in one place
...
* commit '0e84041bf740590230198fa845d8c45acd4cb586':
Refactor all phantom-space-inserted spaces in one place
2012-11-12 23:02:32 -08:00
Jean Chalard
fac619a34c
Merge "Don't restrict reset composing state to non-identical setText" into jb-mr1.1-dev
2012-11-12 23:00:12 -08:00
Tadashi G. Takaoka
32a18091a0
Add Mongolian keyboard
...
Bug: 7455289
Change-Id: Ifdf6f38a07f75fb2154a17899e6be5f89082638f
2012-11-13 15:53:15 +09:00
Tadashi G. Takaoka
72b5daf03d
Use hexadecimal constants for subtypeId
...
Change-Id: I5ee7981f1d1d142c4d21d0257879e8e126860fa6
2012-11-13 15:18:28 +09:00
Jean Chalard
0e84041bf7
Refactor all phantom-space-inserted spaces in one place
...
Bug: 7164981
Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
2012-11-13 12:53:55 +09:00
Jean Chalard
61cc2a3391
Don't restrict reset composing state to non-identical setText
...
Bug: 7497063
Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
2012-11-12 18:34:18 +09:00
Tadashi G. Takaoka
eaaee28647
Merge "Enhance ImfUtils to InputMethodManagerWrapper class"
2012-11-11 22:43:07 -08:00
Tadashi G. Takaoka
6fbbab3b84
Enhance ImfUtils to InputMethodManagerWrapper class
...
Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020
2012-11-12 15:23:43 +09:00
Satoshi Kataoka
5d51e8f997
Remove backup agent from AOSP Android Keyboard
...
Bug: 4590284
Change-Id: I22f0e42cb898d20dfc2c4506493bf48170ce7b04
2012-11-12 12:37:25 +09:00
Ken Wakasa
ee05f3f5b7
Cleanup basechars.cpp
...
Change-Id: I7b88876f60720182910fab97ef79f3d04fbd81f0
2012-11-10 19:38:26 +09:00
Baligh Uddin
b3e66833d5
Merge "Import translations. DO NOT MERGE"
2012-11-09 16:27:53 -08:00
Baligh Uddin
53bd25bf3a
Import translations. DO NOT MERGE
...
Change-Id: Ibf5dc194560d09cc1945c5478197b9170c176492
Auto-generated-cl: translation import
2012-11-09 12:45:34 -08:00
Tadashi G. Takaoka
ef2b4082fb
am 21177c1a
: Remove gesture typing settings when disabled by configuration
...
* commit '21177c1afed4c04f436acbd1116568051167c899':
Remove gesture typing settings when disabled by configuration
2012-11-09 08:03:23 -08:00
Tadashi G. Takaoka
21177c1afe
Remove gesture typing settings when disabled by configuration
...
Bug: 7506408
Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
2012-11-09 07:58:27 -08:00
Jean Chalard
01d47b8096
Fix a logic flaw.
...
This test is seriously wrong : although we do have a method that
does exactly the right thing, this looks at a very specific, unrelated
variable state in hope it happens to be set only in the relevant
cases by the play of logic.
I don't think this changes anything concretely, as the assumption
was probably true in the practice ; still, this code is very hard to
read and prone to unexpected breakage.
Change-Id: I77ab576f90762429fcc752df31ed30e1c81871dc
2012-11-09 19:16:37 +09:00
Ken Wakasa
710d06cea9
Suppress dictionary pack support when IS_EXPERIMENTAL is true
...
Change-Id: If8813cb989c1fa8744a3bf36e8514ced3c8f46a3
2012-11-09 15:03:31 +09:00
Tadashi G. Takaoka
c43ff6f66c
Remove gesture typing settings when disabled by configuration
...
Bug: 7506408
Change-Id: I4de53ace170d5ddc9779f42ac344c4190c80a019
2012-11-09 12:44:40 +09:00
The Android Open Source Project
0b2aa7f63b
am 9185a6c2
: (-s ours) am a8ec322b
: am bc43e3f2
: Reconcile with jb-mr1-release - do not merge
...
* commit '9185a6c2c315a8db537edc5d1bf582199d157bb2':
2012-11-08 06:32:15 -08:00
The Android Open Source Project
9185a6c2c3
am a8ec322b
: am bc43e3f2
: Reconcile with jb-mr1-release - do not merge
...
* commit 'a8ec322b1a24111aa3e7e533d00586536212ff7b':
2012-11-08 06:27:09 -08:00
Ken Wakasa
43f579e9f6
am 4eef5101
: am aa5d6fe0
: am 9cc22c45
: am 5d2556b9
: Reset the IME if requested by the app.
...
* commit '4eef51016adc4e103fa65d944a0ab31527ddced8':
Reset the IME if requested by the app.
2012-11-08 06:22:02 -08:00
Ken Wakasa
4eef51016a
am aa5d6fe0
: am 9cc22c45
: am 5d2556b9
: Reset the IME if requested by the app.
...
* commit 'aa5d6fe05ce45e36b732a3abc849508cd8279257':
Reset the IME if requested by the app.
2012-11-08 06:12:57 -08:00
Jean Chalard
5b1037fa94
Fix a bug in the diff tool
...
Fix reporting of removed attributes multiple times instead
of just one in some cases. Also, report the frequency of
the removed bigram in the same cases.
Change-Id: I1455fa7553fcebc3005c222bf5aa9afcf1678c31
2012-11-08 11:57:45 +09:00
The Android Open Source Project
a8ec322b1a
am bc43e3f2
: Reconcile with jb-mr1-release - do not merge
...
* commit 'bc43e3f29060252d2a08b4e976bdb2ca50438623':
2012-11-07 10:24:23 -08:00
The Android Open Source Project
bc43e3f290
Reconcile with jb-mr1-release - do not merge
...
Change-Id: I105d8e6a795dd5b38d42051196581896e7ea4f30
2012-11-07 10:20:18 -08:00
Baligh Uddin
d957ded1d5
Merge "Import translations. DO NOT MERGE"
2012-11-07 10:06:29 -08:00
The Android Automerger
be07aad4e9
merge in jb-mr1-release history after reset to jb-mr1-dev
2012-11-06 18:04:26 -08:00
Baligh Uddin
8df57deb05
Import translations. DO NOT MERGE
...
Change-Id: I97ceec5680a8ba9f27d5f62a7573555590268376
Auto-generated-cl: translation import
2012-11-06 16:54:45 -08:00
Ken Wakasa
f775bf3b6f
Fix a build error in x86 builds
...
Change-Id: I64a7c35d01540eb63f09cacddaab03f95729ed02
2012-11-07 07:52:34 +09:00
Ken Wakasa
aa5d6fe05c
am 9cc22c45
: am 5d2556b9
: Reset the IME if requested by the app.
...
* commit '9cc22c45ec04f3b1772631e1ef18103dc55c2a0b':
Reset the IME if requested by the app.
2012-11-06 14:29:45 -08:00
Ken Wakasa
9cc22c45ec
am 5d2556b9
: Reset the IME if requested by the app.
...
* commit '5d2556b93286f5f1d7d829b586b84a8b7ae55743':
Reset the IME if requested by the app.
2012-11-06 14:27:24 -08:00
The Android Open Source Project
796050d144
am ef51f33e
: (-s ours) am 4d095547
: am 202c3a5f
: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
* commit 'ef51f33e544577c8fbc802a5623bef87d97473b8':
2012-11-06 12:34:08 -08:00
The Android Open Source Project
ef51f33e54
am 4d095547
: am 202c3a5f
: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
* commit '4d09554794ace67b01a6674c36edd5495b32cc38':
2012-11-06 12:30:07 -08:00
The Android Open Source Project
4d09554794
am 202c3a5f
: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
* commit '202c3a5f32e20939a3dff24b7e2f047e47b29e17':
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
Build LatinIME with NDK r8
2012-11-06 12:24:06 -08:00
The Android Open Source Project
202c3a5f32
Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
...
Change-Id: I355e91c06f0958f1baec5923324dcbcdf408d3f2
2012-11-06 12:18:48 -08:00
Ken Wakasa
5d2556b932
Reset the IME if requested by the app.
...
Specifically, reset the KeyboardState to the main Alphabet layout in
LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get
reloaded in the method.
Please note TextView.setText() calls up resetInput(), then the IME should
reset with it.
bug: 7482086
Note that bug: 6851364 needs to be revisited.
Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
2012-11-07 01:09:26 +09:00
Ken Wakasa
5f2fa6b82c
Tidy up visibility of members of BinaryFormat.
...
Change-Id: I38a00076b82de8e1a19209c67954fe01585f7943
2012-11-05 20:16:52 +09:00
Ken Wakasa
6e66349ed1
Adjust compiler warning options with the offdevice Makefile
...
Make use of AK_FORCE_INLINE for -Winline and better performance
Change-Id: If0016e2ef61c1fe007c83bb1a5133a6b6bde568e
2012-11-05 14:26:53 +09:00
Ken Wakasa
19d844c7a7
Follow up to Ic6af0c596374d936d2b9b31e626fb62bd265ce64
...
Tidy up inline functions with AK_FORCE_INLINE. Moved back some inline methods to header files.
Change-Id: Ibd37b595666ebddda198d9237f19f6712653a8e8
2012-11-03 00:29:40 +09:00
Ken Wakasa
2c2f3a90d8
Add more compiler warning flags
...
Change-Id: Ic6af0c596374d936d2b9b31e626fb62bd265ce64
2012-11-02 18:29:26 +09:00
Ken Wakasa
a323fa6746
A small code cleanup in geometry_utils.h
...
Change-Id: Ie9ff77c661693a1e21d0aa4cfc079bfbf3171f49
2012-11-02 12:25:19 +09:00
Tadashi G. Takaoka
a47a777476
Merge "Cleanup logging code"
2012-11-01 02:15:24 -07:00
Ken Wakasa
d42af9da10
Merge "Use sizeof() more safely."
2012-11-01 01:55:03 -07:00