From 07eddf3c43859008892c78aa282f203591b4cffc Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 24 Jan 2014 18:39:05 +0900 Subject: [PATCH] [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 --- java/src/com/android/inputmethod/latin/LatinIME.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 9f4976ede..0382b3405 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -990,7 +990,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } if (!mSettings.getCurrent().isApplicationSpecifiedCompletionsOn()) return; if (applicationSpecifiedCompletions == null) { - clearSuggestionStrip(); + setNeutralSuggestionStrip(); if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { ResearchLogger.latinIME_onDisplayCompletions(null); }