Music Player Stuck partial wake locks (background)

281 views Asked by At

I have an android music player and I see a "Stuck partial wake locks (background)" in the Play Console. I'm not sure how to fix it. I search my code and the only code that I find is the following when I initialized the player.

    mPlayer.setWakeMode(getApplicationContext(), PowerManager.PARTIAL_WAKE_LOCK);
    mPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
0

There are 0 answers