aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-04-18 09:38:55 +0200
committersteckbrief <steckbrief@chefmail.de>2016-04-18 09:38:55 +0200
commit073813d192067a2b91c50d2108a0cb98fc865ab4 (patch)
treec0a8170ca156b6049322b25aed7e91f0ead38633 /src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
parent22394cfaf07d32e803bbd8c1688f514c71cd0bba (diff)
Related to FS#199: Removed unnecessary build configuration variable to hide disable button on foreground service notification
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java b/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
index b06dd95c..a3142df4 100644
--- a/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
+++ b/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
@@ -522,11 +522,9 @@ public class NotificationService {
cancelIcon = R.drawable.ic_action_cancel;
}
mBuilder.setSmallIcon(R.drawable.ic_link_white_24dp);
- if (Config.SHOW_DISABLE_FOREGROUND) {
- mBuilder.addAction(cancelIcon,
- mXmppConnectionService.getString(R.string.disable_foreground_service),
- createDisableForeground());
- }
+ mBuilder.addAction(cancelIcon,
+ mXmppConnectionService.getString(R.string.disable_foreground_service),
+ createDisableForeground());
return mBuilder.build();
}