diff options
author | 2014-08-26 18:54:08 +0900 | |
---|---|---|
committer | 2014-08-26 20:35:59 +0900 | |
commit | 8380f921f7edaeea2033a1e967a14941400fe246 (patch) | |
tree | db2e7cd9758440158a6e4096be43161ca2481c5b /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | fdfe73ff1f4b8c9d7d8728baa322d70c3a74df99 (diff) | |
download | latinime-8380f921f7edaeea2033a1e967a14941400fe246.tar.gz latinime-8380f921f7edaeea2033a1e967a14941400fe246.tar.xz latinime-8380f921f7edaeea2033a1e967a14941400fe246.zip |
Fix a bug where the top prediction would disappear.
This is because prediction can't be easily distinguished in
style. This fixes the bug by simulating the right members,
but some refactoring should be done to remove useless
booleans.
Bug: 17271923
Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 6045b3428..aebc7101a 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1051,7 +1051,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen applicationSpecifiedCompletions); final SuggestedWords suggestedWords = new SuggestedWords(applicationSuggestedWords, null /* rawSuggestions */, false /* typedWordValid */, false /* willAutoCorrect */, - false /* isObsoleteSuggestions */, false /* isPrediction */, + false /* isObsoleteSuggestions */, SuggestedWords.INPUT_STYLE_APPLICATION_SPECIFIED /* inputStyle */); // When in fullscreen mode, show completions generated by the application forcibly setSuggestedWords(suggestedWords); |