diff options
author | 2014-08-13 09:02:23 +0000 | |
---|---|---|
committer | 2014-08-13 09:02:23 +0000 | |
commit | 123d3f59881d481cc0bdd9b04547ffbebf252c35 (patch) | |
tree | db10a8d8c15bcc7c8b1bd196744a332e0e09ad91 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 727b9975e2db114d9b6375516a6ed6ca7edd3002 (diff) | |
parent | 26233cddeea6d45064c7b7f62af1ea2543759d2a (diff) | |
download | latinime-123d3f59881d481cc0bdd9b04547ffbebf252c35.tar.gz latinime-123d3f59881d481cc0bdd9b04547ffbebf252c35.tar.xz latinime-123d3f59881d481cc0bdd9b04547ffbebf252c35.zip |
am 26233cdd: Merge "Add debug setting to force hardware special key"
* commit '26233cddeea6d45064c7b7f62af1ea2543759d2a':
Add debug setting to force hardware special key
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 9b629ca14..91b01b506 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -155,7 +155,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen @UsedForTesting final KeyboardSwitcher mKeyboardSwitcher; private final SubtypeSwitcher mSubtypeSwitcher; private final SubtypeState mSubtypeState = new SubtypeState(); - private final SpecialKeyDetector mSpecialKeyDetector = new SpecialKeyDetector(); + private final SpecialKeyDetector mSpecialKeyDetector; // Object for reacting to adding/removing a dictionary pack. private final BroadcastReceiver mDictionaryPackInstallReceiver = @@ -517,6 +517,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mSettings = Settings.getInstance(); mSubtypeSwitcher = SubtypeSwitcher.getInstance(); mKeyboardSwitcher = KeyboardSwitcher.getInstance(); + mSpecialKeyDetector = new SpecialKeyDetector(this); mIsHardwareAcceleratedDrawingEnabled = InputMethodServiceCompatUtils.enableHardwareAcceleration(this); Log.i(TAG, "Hardware accelerated drawing: " + mIsHardwareAcceleratedDrawingEnabled); |