From 27d78643e886eadc6fc72b55e1642de81cd03f6e Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Wed, 9 Oct 2013 12:11:28 +0900 Subject: [PATCH] Remove a useless IPC call. This is not useful because we're going to call setSelection again with different values on the connection right away. Also a preliminary change for Bug: 10792236 Change-Id: I46c6ef1fbb3624086099bf81afddb0ef5ae85661 --- 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 ccdbd0d4d..4d95ca3af 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -2305,7 +2305,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen if (!mRecapitalizeStatus.isSetAt(mLastSelectionStart, mLastSelectionEnd)) { mLastSelectionStart = mRecapitalizeStatus.getNewCursorStart(); mLastSelectionEnd = mRecapitalizeStatus.getNewCursorEnd(); - mConnection.setSelection(mLastSelectionStart, mLastSelectionEnd); } } mRecapitalizeStatus.rotate();