From 6fbfc9c748bd2893313ac6c4266ff34755bd4d2c Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 24 Sep 2014 05:35:35 -0700 Subject: Fix crash on GB with persistent/remote notifications --- src/github/daneren2005/dsub/util/Notifications.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/github') 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); } -- cgit v1.2.3