Merge "Remove unused WordComposer.init method"
commit
9c0ddb5988
|
@ -34,7 +34,7 @@ public class WordComposer {
|
||||||
|
|
||||||
private int[] mPrimaryKeyCodes;
|
private int[] mPrimaryKeyCodes;
|
||||||
private final InputPointers mInputPointers = new InputPointers();
|
private final InputPointers mInputPointers = new InputPointers();
|
||||||
private StringBuilder mTypedWord;
|
private final StringBuilder mTypedWord;
|
||||||
private CharSequence mAutoCorrection;
|
private CharSequence mAutoCorrection;
|
||||||
private boolean mIsResumed;
|
private boolean mIsResumed;
|
||||||
|
|
||||||
|
@ -59,10 +59,6 @@ public class WordComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
public WordComposer(WordComposer source) {
|
public WordComposer(WordComposer source) {
|
||||||
init(source);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void init(WordComposer source) {
|
|
||||||
mPrimaryKeyCodes = Arrays.copyOf(source.mPrimaryKeyCodes, source.mPrimaryKeyCodes.length);
|
mPrimaryKeyCodes = Arrays.copyOf(source.mPrimaryKeyCodes, source.mPrimaryKeyCodes.length);
|
||||||
mTypedWord = new StringBuilder(source.mTypedWord);
|
mTypedWord = new StringBuilder(source.mTypedWord);
|
||||||
mInputPointers.copy(source.mInputPointers);
|
mInputPointers.copy(source.mInputPointers);
|
||||||
|
|
Loading…
Reference in New Issue