am af8df168: Remove an out-of-place check
* commit 'af8df168874fba3fda747e967b7e62aae72989ea': Remove an out-of-place checkmain
commit
2e4b1b3177
|
@ -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 New Issue