android - VideoView restarts playback on lock screen -
i have activity containing vitamio videoview, works pretty except annoying issue causes player restart playback when lock screen.
as far can see kills activity upon locking , restarts it. have idea on how can fix issue?
thanks in advance, x
what ended doing adding android:configchanges="orientation|screensize"
manifest. , added videoview.pause();
onpause() function in videoview activity make sure didn't continue playing.
even though worked believe must force orientation videoview activity, unless want weird when orientation changes.
Comments
Post a Comment