aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2014-06-27 16:14:22 -0700
committerdaneren2005 <daneren2005@gmail.com>2014-06-27 16:14:22 -0700
commit44460d426bae0a074fe2dbd5cec79b0c370bf1f2 (patch)
tree75b552fe5b6dd8c82d9af6f5bd0f109e359851c4
parent8d21df50cb8a7cd0961c054d0050c1b2634c503d (diff)
downloaddsub-44460d426bae0a074fe2dbd5cec79b0c370bf1f2.tar.gz
dsub-44460d426bae0a074fe2dbd5cec79b0c370bf1f2.tar.bz2
dsub-44460d426bae0a074fe2dbd5cec79b0c370bf1f2.zip
Set Now Playing notification as high priority
-rw-r--r--src/github/daneren2005/dsub/util/Notifications.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/util/Notifications.java b/src/github/daneren2005/dsub/util/Notifications.java
index ca76e5ba..de4129e9 100644
--- a/src/github/daneren2005/dsub/util/Notifications.java
+++ b/src/github/daneren2005/dsub/util/Notifications.java
@@ -67,6 +67,7 @@ public final class Notifications {
RemoteViews expandedContentView = new RemoteViews(context.getPackageName(), R.layout.notification_expanded);
setupViews(expandedContentView,context,song, playing, remote);
notification.bigContentView = expandedContentView;
+ notification.priority = Notification.PRIORITY_HIGH;
}
RemoteViews smallContentView = new RemoteViews(context.getPackageName(), R.layout.notification);