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

Commit 485c1ec6 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android (Google) Code Review
Browse files

Merge "Add final and volatile for members of InputLogic."

parents afdb6f01 b063377e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -77,9 +77,10 @@ public final class InputLogic {
    public int mSpaceState;
    // Never null
    public SuggestedWords mSuggestedWords = SuggestedWords.EMPTY;
    public Suggest mSuggest;
    // TODO: mSuggest should be touched by a single thread.
    public volatile Suggest mSuggest;
    // The event interpreter should never be null.
    public EventInterpreter mEventInterpreter;
    public final EventInterpreter mEventInterpreter;

    public LastComposedWord mLastComposedWord = LastComposedWord.NOT_A_COMPOSED_WORD;
    public final WordComposer mWordComposer;