aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-24 05:35:35 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-24 05:35:35 -0700
commit6fbfc9c748bd2893313ac6c4266ff34755bd4d2c (patch)
tree29665b7c071c75f780d87778579adf6361891f06 /src/github/daneren2005
parent5264ecfb4f763fa3d4d905b28747c2ae5951674c (diff)
downloaddsub-6fbfc9c748bd2893313ac6c4266ff34755bd4d2c.tar.gz
dsub-6fbfc9c748bd2893313ac6c4266ff34755bd4d2c.tar.bz2
dsub-6fbfc9c748bd2893313ac6c4266ff34755bd4d2c.zip
Fix crash on GB with persistent/remote notifications
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/util/Notifications.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/util/Notifications.java b/src/github/daneren2005/dsub/util/Notifications.java
index 93db25b8..520c4a6c 100644
--- a/src/github/daneren2005/dsub/util/Notifications.java
+++ b/src/github/daneren2005/dsub/util/Notifications.java
@@ -165,7 +165,7 @@ public final class Notifications {
next = R.id.control_next;
}
- if((remote || persistent) && close == 0) {
+ if((remote || persistent) && close == 0 && expanded) {
close = R.id.notification_close;
rv.setViewVisibility(close, View.VISIBLE);
}