aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorDan Zivkovic <zivkovic@google.com>2015-02-26 11:10:37 -0800
committerDan Zivkovic <zivkovic@google.com>2015-02-26 11:10:37 -0800
commitedd94a449e293c07779ac50e98aca3ad92910d92 (patch)
tree34d42756e7198a220f69d607fc571f806e622a20 /java/src/com/android/inputmethod/latin/LatinIME.java
parent48b071249cd662a5448ae0178e16b0b5026ee4cf (diff)
downloadlatinime-edd94a449e293c07779ac50e98aca3ad92910d92.tar.gz
latinime-edd94a449e293c07779ac50e98aca3ad92910d92.tar.xz
latinime-edd94a449e293c07779ac50e98aca3ad92910d92.zip
Ignore the Emoji key when not connected.
When the LatinIME does not have an active InputConnection, it will not try to toggle the Emoji keyboard. Bug 19513415. Change-Id: I31f928cd7db1cddd771c548cd3dc42f8af64d0e2
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
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 c5c7d2d2c..76d4a4a8d 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -143,7 +143,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
@UsedForTesting final KeyboardSwitcher mKeyboardSwitcher;
private final SubtypeState mSubtypeState = new SubtypeState();
private final EmojiAltPhysicalKeyDetector mEmojiAltPhysicalKeyDetector =
- new EmojiAltPhysicalKeyDetector();
+ new EmojiAltPhysicalKeyDetector(mInputLogic.mConnection);
private StatsUtilsManager mStatsUtilsManager;
// Working variable for {@link #startShowingInputView()} and
// {@link #onEvaluateInputViewShown()}.