aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2020-09-21 20:19:44 -0700
committerScott Jackson <daneren2005@gmail.com>2020-09-21 20:19:44 -0700
commit4e539142736007e0a59e41da391f8b8bb58a0d53 (patch)
treeb1f87c5ce8cc3feff66b56c77c737017af24d832
parent788dc19ed7297eef4221423b4d077b30bc0f727e (diff)
downloaddsub-4e539142736007e0a59e41da391f8b8bb58a0d53.tar.gz
dsub-4e539142736007e0a59e41da391f8b8bb58a0d53.tar.bz2
dsub-4e539142736007e0a59e41da391f8b8bb58a0d53.zip
Fix new media style not respecting persistent notification preference
-rw-r--r--app/src/main/java/github/daneren2005/dsub/service/DownloadService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java
index e86899b1..aa9fcc66 100644
--- a/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java
+++ b/app/src/main/java/github/daneren2005/dsub/service/DownloadService.java
@@ -1525,7 +1525,7 @@ public class DownloadService extends Service {
if (show) {
Notifications.showPlayingNotification(this, this, handler, currentPlaying.getSong(), usingMediaStyleNotification);
} else if (pause) {
- if (prefs.getBoolean(Constants.PREFERENCES_KEY_PERSISTENT_NOTIFICATION, false) || usingMediaStyleNotification) {
+ if (prefs.getBoolean(Constants.PREFERENCES_KEY_PERSISTENT_NOTIFICATION, false)) {
Notifications.showPlayingNotification(this, this, handler, currentPlaying.getSong(), usingMediaStyleNotification);
} else {
Notifications.hidePlayingNotification(this, this, handler);