libgdx/libgdx — pull request #335 by jfedor2 (2013-04-05 13:39:44+00:00)
Title: fix issue 1326 (Android backend resumes audio too soon on phone unlock)

Context:

https://code.google.com/p/libgdx/issues/detail?id=1326

This is a pretty literal implementation of the fix suggested in the blog post. I have tested it on various Android versions and it works, but obviously I couldn't cover all the possible scenarios, so proceed with caution.