mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Add final and volatile for members of InputLogic.
Bug: 13107471 Change-Id: I47df79bc6f015c212d1b6d2f63b2efc5da24294e
This commit is contained in:
parent
303e767728
commit
b063377e77
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user