diff options
author | steckbrief <steckbrief@chefmail.de> | 2019-07-13 20:57:51 +0200 |
---|---|---|
committer | steckbrief <steckbrief@chefmail.de> | 2019-07-13 20:57:51 +0200 |
commit | f23453c0a76219b71094214c95fef674de6ce4e2 (patch) | |
tree | 22de3cd6b7fd83f4e589a210f7c0c97f8cbcc56f /src/main/java/de/pixart/messenger/services | |
parent | d288d6bb16164b5dca36e3559fde7220d3878e90 (diff) |
implements FS#276: Remove 'Invite to Pix-Art Messenger'
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/NotificationService.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/main/java/de/pixart/messenger/services/NotificationService.java b/src/main/java/de/pixart/messenger/services/NotificationService.java index af205dbe6..7a2ec9a44 100644 --- a/src/main/java/de/pixart/messenger/services/NotificationService.java +++ b/src/main/java/de/pixart/messenger/services/NotificationService.java @@ -1035,19 +1035,6 @@ public class NotificationService { cancel(FOREGROUND_NOTIFICATION_ID); } - Notification AppUpdateNotification(PendingIntent intent, String version, String filesize) { - Notification.Builder mBuilder = new Notification.Builder(mXmppConnectionService); - mBuilder.setContentTitle(mXmppConnectionService.getString(R.string.app_name)); - mBuilder.setContentText(String.format(mXmppConnectionService.getString(R.string.update_available), version, filesize)); - mBuilder.setSmallIcon(R.drawable.ic_update_notification); - mBuilder.setContentIntent(intent); - mBuilder.setOngoing(true); - if (Compatibility.runsTwentySix()) { - mBuilder.setChannelId(UPDATE_CHANNEL_ID); - } - return mBuilder.build(); - } - private void notify(String tag, int id, Notification notification) { final NotificationManagerCompat notificationManager = NotificationManagerCompat.from(mXmppConnectionService); try { |