From a6b35b2a87527e46ea2addc016941df53c3bdc02 Mon Sep 17 00:00:00 2001 From: Angelo Fuchs Date: Tue, 29 Jan 2019 14:02:52 +0100 Subject: [PATCH] removed obsolete code #451 --- .../notifications/MessageNotifier.java | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java index 066e0d748..3839c6acb 100644 --- a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java +++ b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java @@ -152,15 +152,6 @@ public class MessageNotifier { updateNotification(context, true, 0); } - /** - * @deprecated use updateNotificatio(Context, int) instead. - */ - @Deprecated - public static void updateNotification(@NonNull Context context, long threadId) - { - throw new IllegalStateException("old signal code called. thread -> chat, long -> int"); - } - public static void updateNotification(@NonNull Context context, int threadId) { if (System.currentTimeMillis() - lastDesktopActivityTimestamp < DESKTOP_ACTIVITY_PERIOD) { @@ -171,16 +162,6 @@ public class MessageNotifier { } } - /** - * @deprecated used updateNotification(Context, int, boolean) instead. - */ - @Deprecated - public static void updateNotification(@NonNull Context context, - long threadId, - boolean signal) { - throw new IllegalStateException("Old signal code called. thread -> chat & long -> int"); - } - public static void updateNotification(@NonNull Context context, int chatId, boolean signal)