From af8df168874fba3fda747e967b7e62aae72989ea Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Fri, 8 Nov 2013 20:32:43 +0900 Subject: [PATCH] Remove an out-of-place check Bug: 11584525 Change-Id: I76cc3e4ee21d62fbd56042adcf085efd5cafb53f --- java/src/com/android/inputmethod/latin/LatinIME.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 9936b3ea4..745fb43d6 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1441,7 +1441,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen private boolean maybeDoubleSpacePeriod() { final SettingsValues currentSettingsValues = mSettings.getCurrent(); - if (!currentSettingsValues.mCorrectionEnabled) return false; if (!currentSettingsValues.mUseDoubleSpacePeriod) return false; if (!mHandler.isAcceptingDoubleSpacePeriod()) return false; // We only do this when we see two spaces and an accepted code point before the cursor.