Android JNI fixes.
Merge branch 'master' of https://github.com/Alekssasho/PogoPainter