Merge "Make SuggestionWordInfo non-final for testabilty"

This commit is contained in:
Jatin Matani 2014-10-10 05:18:55 +00:00 committed by Android (Google) Code Review
commit 701b14ffa6

View file

@ -243,7 +243,8 @@ public class SuggestedWords {
return candidate.isEligibleForAutoCommit() ? candidate : null;
}
public static final class SuggestedWordInfo {
// non-final for testability.
public static class SuggestedWordInfo {
public static final int NOT_AN_INDEX = -1;
public static final int NOT_A_CONFIDENCE = -1;
public static final int MAX_SCORE = Integer.MAX_VALUE;