Merge "[IL130] Remove a useless local"

main
Jean Chalard 2014-04-02 09:18:45 +00:00 committed by Android (Google) Code Review
commit 06b50ed5f2
1 changed files with 1 additions and 3 deletions

View File

@ -219,13 +219,11 @@ public final class InputLogic {
Event.NOT_A_KEY_CODE /* keyCode*/, Event.NOT_A_KEY_CODE /* keyCode*/,
Constants.SUGGESTION_STRIP_COORDINATE /* x */, Constants.SUGGESTION_STRIP_COORDINATE /* x */,
Constants.SUGGESTION_STRIP_COORDINATE /* y */); Constants.SUGGESTION_STRIP_COORDINATE /* y */);
final InputTransaction completeTransaction = onCodeInput(settingsValues, event,
keyboardShiftState, handler);
if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) {
ResearchLogger.latinIME_punctuationSuggestion(index, suggestion, ResearchLogger.latinIME_punctuationSuggestion(index, suggestion,
false /* isBatchMode */, suggestedWords.mIsPrediction); false /* isBatchMode */, suggestedWords.mIsPrediction);
} }
return completeTransaction; return onCodeInput(settingsValues, event, keyboardShiftState, handler);
} }
final Event event = Event.createSuggestionPickedEvent(suggestionInfo); final Event event = Event.createSuggestionPickedEvent(suggestionInfo);