about to 5.0 lollipop crash:
from my understanding, after disable the battery monitor, the RaaA can stay alive as long as user not trying to play a song.
by press play, the audioTrack/Streamer thread will call nativeWrite(), contain AudioTrack.write(), a blocking method that jammed the whole process while waiting in write(). I suspect this is where it crashes. https://mailman.videolan.org/pipermail/vlc-devel/2015-March/101597.html
VLC using a non-blocking AudioTrack write() method for lollipop.
fixed the forever waiting according to this post:https://mailman.videolan.org/pipermail/vlc-devel/2015-March/101596.html
I wonder how hard it is to bring this method to RaaA.
after test with a build disabled both audioTrack and it's jni, The program still crashes in genymotion.
so it's not the JNI but something between read file and pcm_play_dma_init()?