fix item details for playlist songs

This commit is contained in:
dkanada 2020-10-27 01:57:21 +09:00
commit c0c02c42b9
2 changed files with 3 additions and 1 deletions

View file

@ -193,7 +193,7 @@ public class MediaButtonIntentReceiver extends BroadcastReceiver {
if (mWakeLock == null) {
Context appContext = context.getApplicationContext();
PowerManager pm = (PowerManager) appContext.getSystemService(Context.POWER_SERVICE);
mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "Phonograph headset button");
mWakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, context.getClass().getName());
mWakeLock.setReferenceCounted(false);
}