aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@users.noreply.github.com>2020-10-20 15:41:39 -0700
committerGitHub <noreply@github.com>2020-10-20 15:41:39 -0700
commitb6fdb125c844942f9b68e16113780f0f89b186bb (patch)
treed09f0a17ed829bad2ac5bf006e30d3aa5a5db83c /app/src
parent1c2d783f4bc7ad16b7cd4e323317d10e0b20432a (diff)
parent837c14026379e09a319df79ef39cf6e28fd3d8fd (diff)
downloaddsub-b6fdb125c844942f9b68e16113780f0f89b186bb.tar.gz
dsub-b6fdb125c844942f9b68e16113780f0f89b186bb.tar.bz2
dsub-b6fdb125c844942f9b68e16113780f0f89b186bb.zip
Merge pull request #1026 from t-m-w/patch-1
Show mediastyle notification on secure lockscreen
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/Notifications.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/Notifications.java b/app/src/main/java/github/daneren2005/dsub/util/Notifications.java
index e1781c47..88bc8138 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/Notifications.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/Notifications.java
@@ -99,6 +99,7 @@ public final class Notifications {
.setSmallIcon(R.drawable.stat_notify_playing)
.setContentTitle(title)
.setContentText(artist + " - " + album)
+ .setVisibility(Notification.VISIBILITY_PUBLIC)
.setStyle(mediaStyle);
// Set the album art.