[IL85] Maybe show punctuations when app completions are null

When the app goes to the trouble of supplying completions,
but supplies null, then we should show punctuations if
settings allow.

Bug: 8636060
Change-Id: I33c32566039c80df61fcca3fab346fd336d96a12
This commit is contained in:
Jean Chalard 2014-01-24 18:39:05 +09:00
parent b2c0388a69
commit 07eddf3c43

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);
} }