aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LastComposedWord.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-04-11 10:03:02 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-04-11 10:03:02 +0000
commit3b6025a190160d8e387f9691af64314e7bbda7a1 (patch)
treec0b22ddf9097e634a2213aeab87bb75664d50847 /java/src/com/android/inputmethod/latin/LastComposedWord.java
parent0dc6ecc682743490febb057b68b2479130fda648 (diff)
parent4f4770cbf00232c388ba6d632edb1566646dec1f (diff)
downloadlatinime-3b6025a190160d8e387f9691af64314e7bbda7a1.tar.gz
latinime-3b6025a190160d8e387f9691af64314e7bbda7a1.tar.xz
latinime-3b6025a190160d8e387f9691af64314e7bbda7a1.zip
am 4f4770cb: Merge "[CB26] Remove useless variables."
* commit '4f4770cbf00232c388ba6d632edb1566646dec1f': [CB26] Remove useless variables.
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LastComposedWord.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LastComposedWord.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/LastComposedWord.java b/java/src/com/android/inputmethod/latin/LastComposedWord.java
index 2a16ab5ab..232bf7407 100644
--- a/java/src/com/android/inputmethod/latin/LastComposedWord.java
+++ b/java/src/com/android/inputmethod/latin/LastComposedWord.java
@@ -44,7 +44,6 @@ public final class LastComposedWord {
public static final String NOT_A_SEPARATOR = "";
- public final int[] mPrimaryKeyCodes;
public final ArrayList<Event> mEvents;
public final String mTypedWord;
public final CharSequence mCommittedWord;
@@ -57,16 +56,15 @@ public final class LastComposedWord {
private boolean mActive;
public static final LastComposedWord NOT_A_COMPOSED_WORD =
- new LastComposedWord(null, new ArrayList<Event>(), null, "", "",
+ new LastComposedWord(new ArrayList<Event>(), null, "", "",
NOT_A_SEPARATOR, null, WordComposer.CAPS_MODE_OFF);
// Warning: this is using the passed objects as is and fully expects them to be
// immutable. Do not fiddle with their contents after you passed them to this constructor.
- public LastComposedWord(final int[] primaryKeyCodes, final ArrayList<Event> events,
+ public LastComposedWord(final ArrayList<Event> events,
final InputPointers inputPointers, final String typedWord,
final CharSequence committedWord, final String separatorString,
final String prevWord, final int capitalizedMode) {
- mPrimaryKeyCodes = primaryKeyCodes;
if (inputPointers != null) {
mInputPointers.copy(inputPointers);
}