remove special handling for conversations (latest release removed pebble messages)

This commit is contained in:
Andreas Shimokawa 2016-09-10 23:52:25 +02:00
parent dcff1f840c
commit e1927733ba
2 changed files with 1 additions and 7 deletions

View File

@ -209,12 +209,6 @@ public class NotificationListener extends NotificationListenerService {
return; return;
} }
if (source.equals("eu.siacs.conversations")) {
if (!"never".equals(prefs.getString("notification_mode_pebblemsg", "when_screen_off"))) {
return;
}
}
if (source.equals("com.fsck.k9")) { if (source.equals("com.fsck.k9")) {
if (!"never".equals(prefs.getString("notification_mode_k9mail", "when_screen_off"))) { if (!"never".equals(prefs.getString("notification_mode_k9mail", "when_screen_off"))) {
return; return;

View File

@ -63,7 +63,7 @@
<string name="pref_title_notifications_sms">SMS</string> <string name="pref_title_notifications_sms">SMS</string>
<string name="pref_title_notifications_k9mail">K9-Mail</string> <string name="pref_title_notifications_k9mail">K9-Mail</string>
<string name="pref_title_notifications_pebblemsg">Pebble Messages</string> <string name="pref_title_notifications_pebblemsg">Pebble Messages</string>
<string name="pref_summary_notifications_pebblemsg">Support for applications which send Notifications to the Pebble via Intent. Can be used for Conversations.</string> <string name="pref_summary_notifications_pebblemsg">Support for applications which send Notifications to the Pebble via PebbleKit.</string>
<string name="pref_title_notifications_generic">Generic notification support</string> <string name="pref_title_notifications_generic">Generic notification support</string>
<string name="pref_title_whenscreenon">… also when screen is on</string> <string name="pref_title_whenscreenon">… also when screen is on</string>
<string name="pref_title_notification_filter">Do Not Disturb</string> <string name="pref_title_notification_filter">Do Not Disturb</string>