Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
b6d48c4c
Commit
b6d48c4c
authored
11 years ago
by
Keisuke Kuroyanagi
Browse files
Options
Downloads
Patches
Plain Diff
Make user and contacts dict use ver3 format.
Bug: 6669677 Change-Id: I6a20eed2c8afdd1c16ada5bf85067864c7cd2a7f
parent
60eb2501
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/com/android/inputmethod/latin/DictionaryWriter.java
+2
-3
2 additions, 3 deletions
java/src/com/android/inputmethod/latin/DictionaryWriter.java
with
2 additions
and
3 deletions
java/src/com/android/inputmethod/latin/DictionaryWriter.java
+
2
−
3
View file @
b6d48c4c
...
@@ -37,10 +37,9 @@ import java.util.HashMap;
...
@@ -37,10 +37,9 @@ import java.util.HashMap;
* An in memory dictionary for memorizing entries and writing a binary dictionary.
* An in memory dictionary for memorizing entries and writing a binary dictionary.
*/
*/
public
class
DictionaryWriter
extends
AbstractDictionaryWriter
{
public
class
DictionaryWriter
extends
AbstractDictionaryWriter
{
// TODO: Regenerate version 3 binary dictionary.
private
static
final
int
BINARY_DICT_VERSION
=
3
;
private
static
final
int
BINARY_DICT_VERSION
=
2
;
private
static
final
FormatSpec
.
FormatOptions
FORMAT_OPTIONS
=
private
static
final
FormatSpec
.
FormatOptions
FORMAT_OPTIONS
=
new
FormatSpec
.
FormatOptions
(
BINARY_DICT_VERSION
);
new
FormatSpec
.
FormatOptions
(
BINARY_DICT_VERSION
,
true
/* supportsDynamicUpdate */
);
private
FusionDictionary
mFusionDictionary
;
private
FusionDictionary
mFusionDictionary
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment