am af8df168: Remove an out-of-place check

* commit 'af8df168874fba3fda747e967b7e62aae72989ea':
  Remove an out-of-place check
main
Jean Chalard 2013-11-08 03:47:51 -08:00 committed by Android Git Automerger
commit 2e4b1b3177
1 changed files with 0 additions and 1 deletions

View File

@ -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.