Merge "Fix an NPE on ICS factory rom."

main
Jean Chalard 2014-10-01 10:16:39 +00:00 committed by Android (Google) Code Review
commit 7f226b4f9d
1 changed files with 4 additions and 2 deletions

View File

@ -1649,8 +1649,10 @@ public final class InputLogic {
} }
} }
// Add the suggestion list to the list of suggestions. // Add the suggestion list to the list of suggestions.
textToCommit.setSpan(new SuggestionSpan(inputTransaction.mSettingsValues.mLocale, textToCommit.setSpan(new SuggestionSpan(mLatinIME /* context */,
suggestions.toArray(new String[suggestions.size()]), 0 /* flags */), inputTransaction.mSettingsValues.mLocale,
suggestions.toArray(new String[suggestions.size()]), 0 /* flags */,
null /* notificationTargetClass */),
0 /* start */, lastCharIndex /* end */, 0 /* flags */); 0 /* start */, lastCharIndex /* end */, 0 /* flags */);
} }