tcking / GiraffePlayer2

out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)
Apache License 2.0
377 stars 110 forks source link

Urgent issue, device completely stuck when resuming player from different activity with different orientation #146

Closed HazimSharif closed 5 years ago

HazimSharif commented 5 years ago

Hi Tcking,

I added admob ad view to the player, the problem is when user click on Ad while player in fullsceen and Ad open something like Chrome for example in portrait, when user click back button to go back to player, the device completely stuck, buttons stop working, user cant event turn off device, at same time, user can hear the audio in player working, but can't see player,

This also happens if player in portrait, and user open Ad in chrome for example, and change orientation to landscape, then click back button same problem happens,

The app does not throw any error, so i could not provide more about the issue,

Thank you

HazimSharif commented 5 years ago

I solved the issue by adding ".setPortraitWhenFullScreen(false)"