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
dbc61779
Commit
dbc61779
authored
14 years ago
by
Tadashi G. Takaoka
Browse files
Options
Downloads
Patches
Plain Diff
Fix build breakage
Change-Id: I055d23c912f297c1958da0ba2c40b1d0843ff915
parent
15a7e837
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
tests/src/com/android/inputmethod/latin/SuggestHelper.java
+2
-2
2 additions, 2 deletions
tests/src/com/android/inputmethod/latin/SuggestHelper.java
with
2 additions
and
2 deletions
tests/src/com/android/inputmethod/latin/SuggestHelper.java
+
2
−
2
View file @
dbc61779
...
...
@@ -98,7 +98,7 @@ public class SuggestHelper {
boolean
isDefaultCorrection
(
CharSequence
typed
,
CharSequence
expected
)
{
WordComposer
word
=
createWordComposer
(
typed
);
SuggestedWords
suggestions
=
mSuggest
.
getSuggestions
(
null
,
word
,
null
);
return
isDefaultSuggestion
(
suggestions
,
expected
)
&&
mSuggest
.
has
Minimal
Correction
();
return
isDefaultSuggestion
(
suggestions
,
expected
)
&&
mSuggest
.
has
Auto
Correction
();
}
boolean
isASuggestion
(
CharSequence
typed
,
CharSequence
expected
)
{
...
...
@@ -130,7 +130,7 @@ public class SuggestHelper {
WordComposer
word
=
createWordComposer
(
typed
);
getBigramSuggestions
(
previous
,
typed
);
SuggestedWords
suggestions
=
mSuggest
.
getSuggestions
(
null
,
word
,
previous
);
return
isDefaultSuggestion
(
suggestions
,
expected
)
&&
mSuggest
.
has
Minimal
Correction
();
return
isDefaultSuggestion
(
suggestions
,
expected
)
&&
mSuggest
.
has
Auto
Correction
();
}
boolean
isASuggestion
(
CharSequence
previous
,
CharSequence
typed
,
...
...
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