Remove an out-of-place check
Bug: 11584525 Change-Id: I76cc3e4ee21d62fbd56042adcf085efd5cafb53f
This commit is contained in:
parent
e998e51330
commit
af8df16887
1 changed files with 0 additions and 1 deletions
|
@ -1441,7 +1441,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
|
|
||||||
private boolean maybeDoubleSpacePeriod() {
|
private boolean maybeDoubleSpacePeriod() {
|
||||||
final SettingsValues currentSettingsValues = mSettings.getCurrent();
|
final SettingsValues currentSettingsValues = mSettings.getCurrent();
|
||||||
if (!currentSettingsValues.mCorrectionEnabled) return false;
|
|
||||||
if (!currentSettingsValues.mUseDoubleSpacePeriod) return false;
|
if (!currentSettingsValues.mUseDoubleSpacePeriod) return false;
|
||||||
if (!mHandler.isAcceptingDoubleSpacePeriod()) return false;
|
if (!mHandler.isAcceptingDoubleSpacePeriod()) return false;
|
||||||
// We only do this when we see two spaces and an accepted code point before the cursor.
|
// We only do this when we see two spaces and an accepted code point before the cursor.
|
||||||
|
|
Loading…
Reference in a new issue