Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c0ddb59 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Remove unused WordComposer.init method"

parents 1a9ef011 6b4ce58f
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ public class WordComposer {

    private int[] mPrimaryKeyCodes;
    private final InputPointers mInputPointers = new InputPointers();
    private StringBuilder mTypedWord;
    private final StringBuilder mTypedWord;
    private CharSequence mAutoCorrection;
    private boolean mIsResumed;

@@ -59,10 +59,6 @@ public class WordComposer {
    }

    public WordComposer(WordComposer source) {
        init(source);
    }

    public void init(WordComposer source) {
        mPrimaryKeyCodes = Arrays.copyOf(source.mPrimaryKeyCodes, source.mPrimaryKeyCodes.length);
        mTypedWord = new StringBuilder(source.mTypedWord);
        mInputPointers.copy(source.mInputPointers);