1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-27 05:17:38 +00:00

Update app/src/main/java/org/schabi/newpipe/player/BackgroundPlayer.java

Co-Authored-By: Redirion <redirion@web.de>
This commit is contained in:
Tobias Groza
2019-03-05 20:57:05 +01:00
committed by GitHub
parent 111ad14ad3
commit 31c4ed7d0e

View File

@@ -351,7 +351,7 @@ public final class BackgroundPlayer extends Service {
if (!shouldUpdateOnProgress) return;
resetNotification();
if(Build.VERSION.SDK_INT >= 26 /*Oreo*/) updateNotificationThumbnail();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O /*Oreo*/) updateNotificationThumbnail();
if (bigNotRemoteView != null) {
if(cachedDuration != duration) {
cachedDuration = duration;