Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f226b4f authored by Jean Chalard's avatar Jean Chalard Committed by Android (Google) Code Review
Browse files

Merge "Fix an NPE on ICS factory rom."

parents 31c16d41 57e29436
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1649,8 +1649,10 @@ public final class InputLogic {
                }
            }
            // Add the suggestion list to the list of suggestions.
            textToCommit.setSpan(new SuggestionSpan(inputTransaction.mSettingsValues.mLocale,
                    suggestions.toArray(new String[suggestions.size()]), 0 /* flags */),
            textToCommit.setSpan(new SuggestionSpan(mLatinIME /* context */,
                    inputTransaction.mSettingsValues.mLocale,
                    suggestions.toArray(new String[suggestions.size()]), 0 /* flags */,
                    null /* notificationTargetClass */),
                    0 /* start */, lastCharIndex /* end */, 0 /* flags */);
        }