am 485c1ec6: Merge "Add final and volatile for members of InputLogic."

* commit '485c1ec685e6822bf244ef68ba80c1cbda895dc4':
  Add final and volatile for members of InputLogic.
main
Keisuke Kuroyanagi 2014-02-20 02:14:43 -08:00 committed by Android Git Automerger
commit cfd8189856
1 changed files with 3 additions and 2 deletions

View File

@ -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;