aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian S <christian@pix-art.de>2016-01-20 19:43:26 +0100
committerChristian S <christian@pix-art.de>2016-01-20 19:43:26 +0100
commitdc99d0ac3144bed0dd04b8aff5cb4c82e080f523 (patch)
treec69bbc7ff4caad745edda03c99c2c9e1d3e800a9
parentae7d02b654575c08f330f96867f09a5518d0bc8d (diff)
hide 'disable foreground service' in foreground notification
-rw-r--r--src/main/java/eu/siacs/conversations/services/NotificationService.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java
index f4498adb8..5d4927279 100644
--- a/src/main/java/eu/siacs/conversations/services/NotificationService.java
+++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java
@@ -541,9 +541,6 @@ public class NotificationService {
cancelIcon = R.drawable.ic_action_cancel;
}
mBuilder.setSmallIcon(R.drawable.ic_link_white_24dp);
- mBuilder.addAction(cancelIcon,
- mXmppConnectionService.getString(R.string.disable_foreground_service),
- createDisableForeground());
return mBuilder.build();
}