Fix JNI thread state transitions.

Thread state transitions need correct fencing. This change introduces
the fences and makes the behaviour match that of Thread::SetState.

Change-Id: Ia0ff68e2493ae153cf24d251e610b02b3f39d93e
9 files changed
tree: 0a8ef975ac588b444a99957e66e502df84895589
  1. Android.mk
  2. build/
  3. src/
  4. test/
  5. tools/