Merge "[IL85] Maybe show punctuations when app completions are null"

This commit is contained in:
Jean Chalard 2014-01-27 11:17:17 +00:00 committed by Android (Google) Code Review
commit 7aa7e36611

View file

@ -990,7 +990,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
} }
if (!mSettings.getCurrent().isApplicationSpecifiedCompletionsOn()) return; if (!mSettings.getCurrent().isApplicationSpecifiedCompletionsOn()) return;
if (applicationSpecifiedCompletions == null) { if (applicationSpecifiedCompletions == null) {
clearSuggestionStrip(); setNeutralSuggestionStrip();
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
ResearchLogger.latinIME_onDisplayCompletions(null); ResearchLogger.latinIME_onDisplayCompletions(null);
} }