Emit a trace when a new dictionary is copied to LatinIME
successfully, not just when it fails. That will help diagnosing
some problems by being able to ensure this step succeeded
looking at the log.
This does not happen often (like, maybe 3 times at device
activation, and once every few weeks afterwards), so I think
the extra line in the log is more than acceptable.
Change-Id: I1674bc22d950a7be801076c5aa7e8bbebccab14b
If there is any two-args constructor with the right arg types
in a test class, use it. Also, add a test suite to dicttool test.
Also, have the return value of dicttool reflect success or
failure.
Change-Id: I51ab2a4abb93a0a483e8d6ef3c39d1ff1bce1dbd
With this change, the phone keyboard layout use quite similar one of
the oridinal PC. The differences from the ordinal PC keyboard layout
are:
- Add letter JEH between letter TAH and ZAIN at 3rd row.
- Move letter TCHEN from the most left of 1st row to the most left of
3rd row.
The tablet keyboard layout is the same of of the phone except:
- Add letter ALEF with MADDA above between letter WAW and letter TCHEN
at 3rd row.
This change also moves the delete key and the enter key on tablet to
1st and 2nd row respectively.
Bug: 9371393
Change-Id: I964589055eb15549fe20e5ec45e02f7dc6b5686e
With this change, the tablet keyboard layout both 7inch and 10inch use
quite similar one of the ordinal PC. The differences from the ordinal
PC keyboard layout are:
- Move letter THAL from the most left of digits' row to the most left
of 3rd row.
- Move letter DAL from the most right of 1st row to the most right of
3rd row.
- Omit ligature LAM with ALEF from 3rd row and move to more keys of
letter LAM on 2nd row.
The phone keyboard layout is the same one of the tablet except:
- Omit letter YEH with HAMZA avobe from 3rd row and move to more keys
of letter ALEF MAKSURA on 3rd row.
Bug: 9371393
Change-Id: I1cd164ce7c1c3a5cae67b9985f1b167aef028ca0
This change also eliminates a reference of
AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard.
Bug: 6522943
Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959
This patch does two things:
- If there is no URL to download new data from, then the
Refresh button is not shown.
- Even if for some reason refresh starts for a client for
which there is no URL, loading correctly finishes.
Bug: 9388602
Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547