BTW, i am in the context of a broadcast receiver. ...
# codereview
u
BTW, i am in the context of a broadcast receiver. So the problem being solved here is, that the device can go to sleep immediately after returning from 'ring' and the media player will only grab a wake lock after start() is called which happens some time later when prepareAsync is done