make enterSleepState() synchronized.
There are a few crashes in the play store where the framework complains that we are underlocked. Maybe this races with onDestroy() in some rare cases.
This commit is contained in:
parent
8e607cb242
commit
12824fd47b
@ -770,7 +770,7 @@ public final class PlaybackService extends Service
|
||||
* Closes any open AudioFX session and releases
|
||||
* our wakelock if held
|
||||
*/
|
||||
private void enterSleepState()
|
||||
private synchronized void enterSleepState()
|
||||
{
|
||||
if (mMediaPlayer != null) {
|
||||
if (mMediaPlayerAudioFxActive) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user